public class ArtifactRevisionInformation extends Object implements Serializable, Cloneable
Represents information about an artifact revision.
| Constructor and Description |
|---|
ArtifactRevisionInformation() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRevisionInformation |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of an artifact.
|
ArtifactRevision |
getRevision()
Represents details about the ArtifactRevision object.
|
int |
hashCode() |
void |
setName(String name)
The name of an artifact.
|
void |
setRevision(ArtifactRevision revision)
Represents details about the ArtifactRevision object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ArtifactRevisionInformation |
withName(String name)
The name of an artifact.
|
ArtifactRevisionInformation |
withRevision(ArtifactRevision revision)
Represents details about the ArtifactRevision object.
|
public void setName(String name)
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
name - The name of an artifact. This name might be system-generated, such
as "MyApp", or might be defined by the user when an action is
created.public String getName()
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
public ArtifactRevisionInformation withName(String name)
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
name - The name of an artifact. This name might be system-generated, such
as "MyApp", or might be defined by the user when an action is
created.public void setRevision(ArtifactRevision revision)
Represents details about the ArtifactRevision object.
revision - Represents details about the ArtifactRevision object.public ArtifactRevision getRevision()
Represents details about the ArtifactRevision object.
public ArtifactRevisionInformation withRevision(ArtifactRevision revision)
Represents details about the ArtifactRevision object.
revision - Represents details about the ArtifactRevision object.public String toString()
toString in class ObjectObject.toString()public ArtifactRevisionInformation clone()
Copyright © 2016. All rights reserved.