Package com.circleci.client.v2.model
Class Artifact
- java.lang.Object
-
- com.circleci.client.v2.model.Artifact
-
public class Artifact extends Object
An artifact
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NODE_INDEXstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_URL
-
Constructor Summary
Constructors Constructor Description Artifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetNodeIndex()The index of the node that stored the artifact.StringgetPath()The artifact path.StringgetUrl()The URL to download the artifact contents.inthashCode()ArtifactnodeIndex(Long nodeIndex)Artifactpath(String path)voidsetNodeIndex(Long nodeIndex)voidsetPath(String path)voidsetUrl(String url)StringtoString()Artifacturl(String url)
-
-
-
Field Detail
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_INDEX
public static final String JSON_PROPERTY_NODE_INDEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
public String getPath()
The artifact path.- Returns:
- path
-
setPath
public void setPath(String path)
-
getNodeIndex
public Long getNodeIndex()
The index of the node that stored the artifact. minimum: 0- Returns:
- nodeIndex
-
setNodeIndex
public void setNodeIndex(Long nodeIndex)
-
getUrl
public String getUrl()
The URL to download the artifact contents.- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-