Class Artifact
java.lang.Object
org.apache.hadoop.yarn.service.api.records.Artifact
- All Implemented Interfaces:
Serializable
Artifact of an service component.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getType()getUri()inthashCode()Artifact id.voidvoidsetType(Artifact.TypeEnum type) voidtoString()type(Artifact.TypeEnum type) Artifact type, like docker, tarball, etc.Artifact location to support multiple artifact stores (optional).
-
Constructor Details
-
Artifact
public Artifact()
-
-
Method Details
-
id
Artifact id. Examples are package location uri for tarball based services, image name for docker, etc. -
getId
-
setId
-
type
Artifact type, like docker, tarball, etc. (optional). -
getType
-
setType
-
uri
Artifact location to support multiple artifact stores (optional). -
getUri
-
setUri
-
equals
-
hashCode
public int hashCode() -
toString
-