|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.moab.api.request.ModifyReservationRequest
public class ModifyReservationRequest
Creates the commands necessary to modify a reservation. For more information about modifying reservations, see http://www.clusterresources.com/products/mwm /docs/commands/mrsvctl.shtml#MODIFY
The following is a list of supported attribute changes:
Constructor Summary | |
---|---|
ModifyReservationRequest(Reservation oldReservation,
Reservation newReservation)
Creates the modify request using the differences between the input parameter oldReservation and the parameter newReservation. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getMoabCommands()
Returns a list of commands that define the request. |
boolean |
hasChanges()
Returns true if changes exist for the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModifyReservationRequest(Reservation oldReservation, Reservation newReservation)
oldReservation
- The old data for the reservationnewReservation
- What the new reservation should look likeMethod Detail |
---|
public java.util.List<java.lang.String> getMoabCommands() throws com.moab.api.connect.exception.RequestException
com.moab.api.commands.Request
Request.hasChanges()
method returns true
.
getMoabCommands
in interface com.moab.api.commands.Request
com.moab.api.connect.exception.RequestException
- thrown if the implementing Request class has problems
building the associated commands.public boolean hasChanges()
com.moab.api.commands.Request
hasChanges
in interface com.moab.api.commands.Request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |