Package io.gs2.deploy.model
Class WorkingResource
java.lang.Object
io.gs2.deploy.model.WorkingResource
- All Implemented Interfaces:
IModel,Serializable,Comparable<WorkingResource>
public class WorkingResource
extends Object
implements IModel, Serializable, Comparable<WorkingResource>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic WorkingResourcefromJson(com.fasterxml.jackson.databind.JsonNode data) getAfter()getName()getType()inthashCode()voidvoidsetContext(String context) voidsetCreatedAt(Long createdAt) voidvoidsetOutputFields(List<OutputField> outputFields) voidsetRequest(String request) voidsetResourceId(String resourceId) voidsetRollbackAfter(List<String> rollbackAfter) voidsetRollbackContext(String rollbackContext) voidsetRollbackRequest(String rollbackRequest) voidvoidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withContext(String context) withCreatedAt(Long createdAt) withOutputFields(List<OutputField> outputFields) withRequest(String request) withResourceId(String resourceId) withRollbackAfter(List<String> rollbackAfter) withRollbackContext(String rollbackContext) withRollbackRequest(String rollbackRequest) withUpdatedAt(Long updatedAt) withWorkId(String workId)
-
Constructor Details
-
WorkingResource
public WorkingResource()
-
-
Method Details
-
getResourceId
-
setResourceId
-
withResourceId
-
getContext
-
setContext
-
withContext
-
getType
-
setType
-
withType
-
getName
-
setName
-
withName
-
getRequest
-
setRequest
-
withRequest
-
getAfter
-
setAfter
-
withAfter
-
getRollbackContext
-
setRollbackContext
-
withRollbackContext
-
getRollbackRequest
-
setRollbackRequest
-
withRollbackRequest
-
getRollbackAfter
-
setRollbackAfter
-
withRollbackAfter
-
getOutputFields
-
setOutputFields
-
withOutputFields
-
getWorkId
-
setWorkId
-
withWorkId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<WorkingResource>
-
hashCode
public int hashCode() -
equals
-