public class ReleaseResult extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
The release failed.
|
static int |
SUCCESS
The release was successful.
|
static int |
UNDEFINED
The result of the release.
|
Constructor and Description |
---|
ReleaseResult() |
Modifier and Type | Method and Description |
---|---|
void |
appendDebug(String message)
Append debug message to the output.
|
void |
appendDebug(String message,
Exception e)
Append error message to the output.
|
void |
appendError(Exception e)
Append error exception to the output
|
void |
appendError(String message)
Append error message to the output.
|
void |
appendError(String message,
Exception e)
Append stack trace to the output
|
void |
appendInfo(String message)
Append Info message to the output.
|
void |
appendOutput(String message)
Append message to the output.
|
void |
appendWarn(String message)
Append warning message to the output.
|
long |
getEndTime() |
String |
getOutput() |
int |
getResultCode() |
long |
getStartTime() |
void |
setEndTime(long endTime) |
void |
setResultCode(int resultCode) |
void |
setStartTime(long startTime) |
public static final int UNDEFINED
public static final int SUCCESS
public static final int ERROR
public void appendInfo(String message)
message
- the message to appendpublic void appendWarn(String message)
message
- the message to appendpublic void appendDebug(String message)
message
- the message to appendpublic void appendDebug(String message, Exception e)
message
- the message to appende
- the exception to appendpublic void appendError(String message)
message
- the message to appendpublic void appendError(Exception e)
e
- the exception to appendpublic void appendError(String message, Exception e)
message
- the message to appende
- the exception to appendpublic void appendOutput(String message)
message
- the message to appendpublic String getOutput()
public int getResultCode()
public void setResultCode(int resultCode)
public long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public void setEndTime(long endTime)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.