Class DeploymentEntity

    • Field Detail

      • id

        protected java.lang.String id
      • name

        protected java.lang.String name
      • resources

        protected java.util.Map<java.lang.String,​ResourceEntity> resources
      • deploymentTime

        protected java.util.Date deploymentTime
      • validatingSchema

        protected boolean validatingSchema
      • isNew

        protected boolean isNew
      • source

        protected java.lang.String source
      • tenantId

        protected java.lang.String tenantId
      • deployedArtifacts

        protected java.util.Map<java.lang.Class<?>,​java.util.List> deployedArtifacts
        Will only be used during actual deployment to pass deployed artifacts (eg process definitions). Will be null otherwise.
    • Constructor Detail

      • DeploymentEntity

        public DeploymentEntity()
    • Method Detail

      • getResource

        public ResourceEntity getResource​(java.lang.String resourceName)
      • clearResources

        public void clearResources()
      • getResources

        public java.util.Map<java.lang.String,​ResourceEntity> getResources()
      • getPersistentState

        public java.lang.Object getPersistentState()
        Description copied from interface: DbEntity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface DbEntity
      • getDeployedArtifacts

        public java.util.Map<java.lang.Class<?>,​java.util.List> getDeployedArtifacts()
      • getDeployedArtifacts

        public <T> java.util.List<T> getDeployedArtifacts​(java.lang.Class<T> clazz)
      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface DbEntity
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Deployment
      • setName

        public void setName​(java.lang.String name)
      • setResources

        public void setResources​(java.util.Map<java.lang.String,​ResourceEntity> resources)
      • setDeploymentTime

        public void setDeploymentTime​(java.util.Date deploymentTime)
      • isValidatingSchema

        public boolean isValidatingSchema()
      • setValidatingSchema

        public void setValidatingSchema​(boolean validatingSchema)
      • isNew

        public boolean isNew()
      • setNew

        public void setNew​(boolean isNew)
      • getSource

        public java.lang.String getSource()
        Specified by:
        getSource in interface Deployment
      • setSource

        public void setSource​(java.lang.String source)
      • getTenantId

        public java.lang.String getTenantId()
        Description copied from interface: Deployment
        Returns the id of the tenant this deployment belongs to. Can be null if the deployment belongs to no single tenant.
        Specified by:
        getTenantId in interface Deployment
      • setTenantId

        public void setTenantId​(java.lang.String tenantId)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object