TrueUpdate Manager Specification 0.1.8

net.java.trueupdate.manager.spec
Class UpdateMessage.Builder

java.lang.Object
  extended by net.java.trueupdate.manager.spec.UpdateMessage.Builder
Enclosing class:
UpdateMessage

public static final class UpdateMessage.Builder
extends Object

A builder for an update message.


Method Summary
 ArtifactDescriptor.Builder<UpdateMessage.Builder> artifactDescriptor()
           
 UpdateMessage.Builder artifactDescriptor(ArtifactDescriptor artifactDescriptor)
           
 UpdateMessage build()
           
 UpdateMessage.Builder currentLocation(URI currentLocation)
           
 UpdateMessage.Builder from(URI from)
           
 UpdateMessage.Builder status(String status)
           
 UpdateMessage.Builder timestamp(Long timestamp)
           
 UpdateMessage.Builder to(URI to)
           
 UpdateMessage.Builder type(UpdateMessage.Type type)
           
 UpdateMessage.Builder updateLocation(URI updateLocation)
           
 UpdateMessage.Builder updateVersion(String updateVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

artifactDescriptor

public ArtifactDescriptor.Builder<UpdateMessage.Builder> artifactDescriptor()

artifactDescriptor

public UpdateMessage.Builder artifactDescriptor(@Nullable
                                                ArtifactDescriptor artifactDescriptor)

build

public UpdateMessage build()

currentLocation

public UpdateMessage.Builder currentLocation(@Nullable
                                             URI currentLocation)

from

public UpdateMessage.Builder from(@Nullable
                                  URI from)

status

public UpdateMessage.Builder status(@Nullable
                                    String status)

timestamp

public UpdateMessage.Builder timestamp(@Nullable
                                       Long timestamp)

to

public UpdateMessage.Builder to(@Nullable
                                URI to)

type

public UpdateMessage.Builder type(@Nullable
                                  UpdateMessage.Type type)

updateLocation

public UpdateMessage.Builder updateLocation(@Nullable
                                            URI updateLocation)

updateVersion

public UpdateMessage.Builder updateVersion(@Nullable
                                           String updateVersion)

TrueUpdate Manager Specification 0.1.8

Copyright © 2013 Stimulus Software. All rights reserved.