Package com.iizix.run.common
Class BuildReply
- java.lang.Object
- com.iizix.run.common.BuildReply
public class BuildReply extends java.lang.Object
Return value with potential error or message.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static BuildReply
CANCEL
The Canceled result.java.lang.String
message
The message, never null.static BuildReply
OK
The OK result.BuildRC
rc
The return code.
Constructor Summary
Constructors Constructor Description BuildReply(BuildRC rc, java.lang.String message)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOK()
Checks if OK.java.lang.String
toString()
Outputs to string.
Field Detail
OK
public static final BuildReply OK
The OK result.
CANCEL
public static final BuildReply CANCEL
The Canceled result.
rc
public final BuildRC rc
The return code.
message
public final java.lang.String message
The message, never null.
Constructor Detail
BuildReply
public BuildReply(BuildRC rc, java.lang.String message)
Constructor.- Throws:
java.lang.NullPointerException
- If message is null.