Class Resource

java.lang.Object
io.gs2.deploy.model.Resource
All Implemented Interfaces:
IModel, Serializable, Comparable<Resource>

public class Resource extends Object implements IModel, Serializable, Comparable<Resource>
See Also:
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • getResourceId

      public String getResourceId()
    • setResourceId

      public void setResourceId(String resourceId)
    • withResourceId

      public Resource withResourceId(String resourceId)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • withType

      public Resource withType(String type)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Resource withName(String name)
    • getRequest

      public String getRequest()
    • setRequest

      public void setRequest(String request)
    • withRequest

      public Resource withRequest(String request)
    • getResponse

      public String getResponse()
    • setResponse

      public void setResponse(String response)
    • withResponse

      public Resource withResponse(String response)
    • getRollbackContext

      public String getRollbackContext()
    • setRollbackContext

      public void setRollbackContext(String rollbackContext)
    • withRollbackContext

      public Resource withRollbackContext(String rollbackContext)
    • getRollbackRequest

      public String getRollbackRequest()
    • setRollbackRequest

      public void setRollbackRequest(String rollbackRequest)
    • withRollbackRequest

      public Resource withRollbackRequest(String rollbackRequest)
    • getRollbackAfter

      public List<String> getRollbackAfter()
    • setRollbackAfter

      public void setRollbackAfter(List<String> rollbackAfter)
    • withRollbackAfter

      public Resource withRollbackAfter(List<String> rollbackAfter)
    • getOutputFields

      public List<OutputField> getOutputFields()
    • setOutputFields

      public void setOutputFields(List<OutputField> outputFields)
    • withOutputFields

      public Resource withOutputFields(List<OutputField> outputFields)
    • getWorkId

      public String getWorkId()
    • setWorkId

      public void setWorkId(String workId)
    • withWorkId

      public Resource withWorkId(String workId)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Resource withCreatedAt(Long createdAt)
    • fromJson

      public static Resource fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Resource o)
      Specified by:
      compareTo in interface Comparable<Resource>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object