|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtools.info.consumer.SimpleSeverityMapper
public class SimpleSeverityMapper
Field Summary | |
---|---|
static SimpleSeverityMapper |
SINGLETON
|
Constructor Summary | |
---|---|
SimpleSeverityMapper()
|
Method Summary | |
---|---|
org.jpattern.logging.Level |
map(Severity item)
|
org.jpattern.logging.Level |
visitDEBUG(Severity severity,
Object... data)
Indicates some (normal) info which should only appear in debug mode. |
org.jpattern.logging.Level |
visitERROR(Severity severity,
Object... data)
Indicates an erroneous situation. |
org.jpattern.logging.Level |
visitFATAL(Severity severity,
Object... data)
Indicates a fatal situation on component level. |
org.jpattern.logging.Level |
visitINFO(Severity severity,
Object... data)
Indicates some (normal) info. |
org.jpattern.logging.Level |
visitSYSTEM(Severity severity,
Object... data)
Indicates a fatal situation on system level. |
org.jpattern.logging.Level |
visitVERBOSE(Severity severity,
Object... data)
Indicates some (normal) info which should only appear in verbose mode. |
org.jpattern.logging.Level |
visitWARNING(Severity severity,
Object... data)
Indicates a warning situation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimpleSeverityMapper SINGLETON
Constructor Detail |
---|
public SimpleSeverityMapper()
Method Detail |
---|
public org.jpattern.logging.Level map(Severity item)
map
in interface org.jpattern.mapper.Mapper<org.jpattern.logging.Level,Severity>
public org.jpattern.logging.Level visitSYSTEM(Severity severity, Object... data)
SeverityVisitor
visitSYSTEM
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitFATAL(Severity severity, Object... data)
SeverityVisitor
visitFATAL
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitERROR(Severity severity, Object... data)
SeverityVisitor
visitERROR
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitWARNING(Severity severity, Object... data)
SeverityVisitor
visitWARNING
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitINFO(Severity severity, Object... data)
SeverityVisitor
visitINFO
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitVERBOSE(Severity severity, Object... data)
SeverityVisitor
visitVERBOSE
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
public org.jpattern.logging.Level visitDEBUG(Severity severity, Object... data)
SeverityVisitor
visitDEBUG
in interface SeverityVisitor<org.jpattern.logging.Level,Object>
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |