Package io.gs2.deploy.model
Class Resource
java.lang.Object
io.gs2.deploy.model.Resource
- All Implemented Interfaces:
IModel,Serializable,Comparable<Resource>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic ResourcefromJson(com.fasterxml.jackson.databind.JsonNode data) getName()getType()inthashCode()voidsetCreatedAt(Long createdAt) voidvoidsetOutputFields(List<OutputField> outputFields) voidsetRequest(String request) voidsetResourceId(String resourceId) voidsetResponse(String response) voidsetRollbackAfter(List<String> rollbackAfter) voidsetRollbackContext(String rollbackContext) voidsetRollbackRequest(String rollbackRequest) voidvoidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withOutputFields(List<OutputField> outputFields) withRequest(String request) withResourceId(String resourceId) withResponse(String response) withRollbackAfter(List<String> rollbackAfter) withRollbackContext(String rollbackContext) withRollbackRequest(String rollbackRequest) withWorkId(String workId)
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getResourceId
-
setResourceId
-
withResourceId
-
getType
-
setType
-
withType
-
getName
-
setName
-
withName
-
getRequest
-
setRequest
-
withRequest
-
getResponse
-
setResponse
-
withResponse
-
getRollbackContext
-
setRollbackContext
-
withRollbackContext
-
getRollbackRequest
-
setRollbackRequest
-
withRollbackRequest
-
getRollbackAfter
-
setRollbackAfter
-
withRollbackAfter
-
getOutputFields
-
setOutputFields
-
withOutputFields
-
getWorkId
-
setWorkId
-
withWorkId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Resource>
-
hashCode
public int hashCode() -
equals
-