Package org.apache.maven.shared.release
Class ReleaseResult
java.lang.Object
org.apache.maven.shared.release.ReleaseResult
- Author:
- Edwin Punzalan
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendDebug
(String message) Append debug message to the output.void
appendDebug
(String message, Exception e) Append error message to the output.void
Append error exception to the outputvoid
appendError
(String message) Append error message to the output.void
appendError
(String message, Exception e) Append stack trace to the outputvoid
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
int
long
void
setEndTime
(long endTime) void
setResultCode
(int resultCode) void
setStartTime
(long startTime)
-
Field Details
-
UNDEFINED
public static final int UNDEFINEDThe result of the release.- See Also:
-
SUCCESS
public static final int SUCCESSThe release was successful.- See Also:
-
ERROR
public static final int ERRORThe release failed.- See Also:
-
-
Constructor Details
-
ReleaseResult
public ReleaseResult()
-
-
Method Details
-
appendInfo
Append Info message to the output.- Parameters:
message
- the message to append
-
appendWarn
Append warning message to the output.- Parameters:
message
- the message to append
-
appendDebug
Append debug message to the output.- Parameters:
message
- the message to append
-
appendDebug
Append error message to the output.- Parameters:
message
- the message to appende
- the exception to append
-
appendError
Append error message to the output.- Parameters:
message
- the message to append
-
appendError
Append error exception to the output- Parameters:
e
- the exception to append
-
appendError
Append stack trace to the output- Parameters:
message
- the message to appende
- the exception to append
-
appendOutput
Append message to the output.- Parameters:
message
- the message to append
-
getOutput
-
getResultCode
public int getResultCode() -
setResultCode
public void setResultCode(int resultCode) -
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long startTime) -
getEndTime
public long getEndTime() -
setEndTime
public void setEndTime(long endTime)
-