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 int
BUG
static int
DEFAULT_ERROR_CODE
static int
ERROR
static int
EXCEPTION
static int
INFO_VERBOSE
static int
INFORMATIONAL
static int
INTERNAL_WARNING
static int
LOG
static int
LOG_STATUS
static int
LOG_VERBOSE
static int
NONE
static int
WARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
Level
getLogLevel()
String
getMessage()
int
getSeverity()
Throwable
getThrowable()
boolean
hasErrorCode()
static Message
mk(int ec)
void
setLevel(Level level)
void
setSeverity(int severity)
void
setThrowable(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)
-
-