public class ArtifactDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Returns information about the details of an artifact.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
maximumCount
The maximum number of artifacts allowed for the action type.
|
private java.lang.Integer |
minimumCount
The minimum number of artifacts allowed for the action type.
|
Constructor and Description |
---|
ArtifactDetails() |
Modifier and Type | Method and Description |
---|---|
ArtifactDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaximumCount()
The maximum number of artifacts allowed for the action type.
|
java.lang.Integer |
getMinimumCount()
The minimum number of artifacts allowed for the action type.
|
int |
hashCode() |
void |
setMaximumCount(java.lang.Integer maximumCount)
The maximum number of artifacts allowed for the action type.
|
void |
setMinimumCount(java.lang.Integer minimumCount)
The minimum number of artifacts allowed for the action type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ArtifactDetails |
withMaximumCount(java.lang.Integer maximumCount)
The maximum number of artifacts allowed for the action type.
|
ArtifactDetails |
withMinimumCount(java.lang.Integer minimumCount)
The minimum number of artifacts allowed for the action type.
|
private java.lang.Integer minimumCount
The minimum number of artifacts allowed for the action type.
private java.lang.Integer maximumCount
The maximum number of artifacts allowed for the action type.
public void setMinimumCount(java.lang.Integer minimumCount)
The minimum number of artifacts allowed for the action type.
minimumCount
- The minimum number of artifacts allowed for the action type.public java.lang.Integer getMinimumCount()
The minimum number of artifacts allowed for the action type.
public ArtifactDetails withMinimumCount(java.lang.Integer minimumCount)
The minimum number of artifacts allowed for the action type.
minimumCount
- The minimum number of artifacts allowed for the action type.public void setMaximumCount(java.lang.Integer maximumCount)
The maximum number of artifacts allowed for the action type.
maximumCount
- The maximum number of artifacts allowed for the action type.public java.lang.Integer getMaximumCount()
The maximum number of artifacts allowed for the action type.
public ArtifactDetails withMaximumCount(java.lang.Integer maximumCount)
The maximum number of artifacts allowed for the action type.
maximumCount
- The maximum number of artifacts allowed for the action type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ArtifactDetails clone()
clone
in class java.lang.Object