Package com.fortify.plugin.jenkins
Class Message
- java.lang.Object
-
- com.fortify.plugin.jenkins.Message
-
public class Message extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intBUGstatic intDEFAULT_ERROR_CODEstatic intERRORstatic intEXCEPTIONstatic intINFO_VERBOSEstatic intINFORMATIONALstatic intINTERNAL_WARNINGstatic intLOGstatic intLOG_STATUSstatic intLOG_VERBOSEstatic intNONEstatic intWARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()LevelgetLogLevel()StringgetMessage()intgetSeverity()ThrowablegetThrowable()booleanhasErrorCode()static Messagemk(int ec)voidsetLevel(Level level)voidsetSeverity(int severity)voidsetThrowable(Throwable throwable)
-
-
-
Field Detail
-
NONE
public static final int NONE
- See Also:
- Constant Field Values
-
INFORMATIONAL
public static final int INFORMATIONAL
- See Also:
- Constant Field Values
-
INFO_VERBOSE
public static final int INFO_VERBOSE
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
LOG
public static final int LOG
- See Also:
- Constant Field Values
-
INTERNAL_WARNING
public static final int INTERNAL_WARNING
- See Also:
- Constant Field Values
-
EXCEPTION
public static final int EXCEPTION
- See Also:
- Constant Field Values
-
BUG
public static final int BUG
- See Also:
- Constant Field Values
-
LOG_VERBOSE
public static final int LOG_VERBOSE
- See Also:
- Constant Field Values
-
LOG_STATUS
public static final int LOG_STATUS
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_CODE
public static final int DEFAULT_ERROR_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessage
public String getMessage()
-
getLogLevel
public Level getLogLevel()
-
setLevel
public void setLevel(Level level)
-
getThrowable
public Throwable getThrowable()
-
setThrowable
public void setThrowable(Throwable throwable)
-
hasErrorCode
public boolean hasErrorCode()
-
getErrorCode
public int getErrorCode()
-
getSeverity
public int getSeverity()
-
setSeverity
public void setSeverity(int severity)
-
mk
public static Message mk(int ec)
-
-