Package io.dialob.executor.model
Class ErrorState
- java.lang.Object
-
- io.dialob.executor.model.ErrorState
-
- All Implemented Interfaces:
SessionObject,Serializable
public class ErrorState extends Object implements SessionObject
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classErrorState.UpdateBuilder
-
Constructor Summary
Constructors Constructor Description ErrorState(ErrorId targetId, ErrorState errorState)ErrorState(ErrorId targetId, String label)ErrorState(ErrorState errorState)ErrorState(ItemId itemId, String code, String label)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()ErrorIdgetId()ItemIdgetItemId()StringgetLabel()booleanisActive()booleanisDisabled()booleanisDisplayItem()static ErrorStatereadFrom(com.google.protobuf.CodedInputStream input)ErrorState.UpdateBuilderupdate(EvalContext context)ErrorStatewithErrorId(ErrorId targetId)voidwriteTo(com.google.protobuf.CodedOutputStream output)
-
-
-
Constructor Detail
-
ErrorState
public ErrorState(@Nonnull ErrorState errorState)
-
ErrorState
public ErrorState(@Nonnull ErrorId targetId, @Nonnull ErrorState errorState)
-
-
Method Detail
-
update
public ErrorState.UpdateBuilder update(EvalContext context)
-
withErrorId
public ErrorState withErrorId(@Nonnull ErrorId targetId)
-
getId
public ErrorId getId()
- Specified by:
getIdin interfaceSessionObject
-
getItemId
public ItemId getItemId()
-
getCode
public String getCode()
-
getLabel
public String getLabel()
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceSessionObject
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceSessionObject
-
isDisplayItem
public boolean isDisplayItem()
- Specified by:
isDisplayItemin interfaceSessionObject
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Throws:
IOException
-
readFrom
public static ErrorState readFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
-