Package org.apache.maven.shared.release
Class ReleaseResult
java.lang.Object
org.apache.maven.shared.release.ReleaseResult
- Author:
- Edwin Punzalan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendDebug(String message) Append debug message to the output.voidappendDebug(String message, Exception e) Append error message to the output.voidAppend error exception to the outputvoidappendError(String message) Append error message to the output.voidappendError(String message, Exception e) Append stack trace to the outputvoidappendInfo(String message) Append Info message to the output.voidappendOutput(String message) Append message to the output.voidappendWarn(String message) Append warning message to the output.longintlongvoidsetEndTime(long endTime) voidsetResultCode(int resultCode) voidsetStartTime(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)
-