|
TrueUpdate Manager Specification 0.1.6 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.trueupdate.manager.spec.UpdateDescriptor
@Immutable public final class UpdateDescriptor
An update descriptor comprises of an artifact descriptor plus an update version. This class implements an immutable value object, so you can easily share it with anyone.
| Nested Class Summary | |
|---|---|
static class |
UpdateDescriptor.Builder<T>
A builder for an update descriptor. |
| Method Summary | |
|---|---|
ArtifactDescriptor |
artifactDescriptor()
Returns the artifact descriptor. |
UpdateDescriptor |
artifactDescriptor(ArtifactDescriptor artifactDescriptor)
Returns an update descriptor with the given artifact descriptor. |
static UpdateDescriptor.Builder<Void> |
builder()
Returns a new builder for an update descriptor. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
UpdateDescriptor.Builder<Void> |
update()
Returns a new builder with all properties set from this instance. |
String |
updateVersion()
Returns the update version. |
UpdateDescriptor |
updateVersion(String updateVersion)
Returns an update descriptor with the given update version. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ArtifactDescriptor artifactDescriptor()
public UpdateDescriptor artifactDescriptor(ArtifactDescriptor artifactDescriptor)
public static UpdateDescriptor.Builder<Void> builder()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic UpdateDescriptor.Builder<Void> update()
public String updateVersion()
public UpdateDescriptor updateVersion(String updateVersion)
|
TrueUpdate Manager Specification 0.1.6 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||