TrueUpdate Manager Specification 0.1.6

net.java.trueupdate.manager.spec
Class ApplicationDescriptor

java.lang.Object
  extended by net.java.trueupdate.manager.spec.ApplicationDescriptor
All Implemented Interfaces:
Serializable

@Immutable
public final class ApplicationDescriptor
extends Object
implements Serializable

An application descriptor comprises of an artifact descriptor plus a current location. This class implements an immutable value object, so you can easily share it with anyone.

Author:
Christian Schlichtherle
See Also:
Serialized Form

Nested Class Summary
static class ApplicationDescriptor.Builder<T>
           
 
Method Summary
 ArtifactDescriptor artifactDescriptor()
          Returns the artifact descriptor.
static ApplicationDescriptor.Builder<Void> builder()
          Returns a new builder for an application descriptor.
 URI currentLocation()
          Returns the current location.
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

artifactDescriptor

public ArtifactDescriptor artifactDescriptor()
Returns the artifact descriptor.


builder

public static ApplicationDescriptor.Builder<Void> builder()
Returns a new builder for an application descriptor.


currentLocation

public URI currentLocation()
Returns the current location.


equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

TrueUpdate Manager Specification 0.1.6

Copyright © 2013 Stimulus Software. All rights reserved.