org.ogf.graap.wsag.api.sla
Class AdvanceReservationComputeJobOffer

java.lang.Object
  extended by java.util.Observable
      extended by org.ogf.graap.wsag.api.types.WSAGXmlType
          extended by org.ogf.graap.wsag.api.types.AgreementOfferType
              extended by org.ogf.graap.wsag.api.sla.ComputeJobOffer
                  extended by org.ogf.graap.wsag.api.sla.AdvanceReservationComputeJobOffer
All Implemented Interfaces:
AgreementOffer

public class AdvanceReservationComputeJobOffer
extends ComputeJobOffer

AdvanceReservationComputeJobOffer

Author:
Oliver Waeldrich

Constructor Summary
AdvanceReservationComputeJobOffer(AgreementTemplateType template)
          Creates a new Unicore6ARComputeSLA from a template.
AdvanceReservationComputeJobOffer(AgreementType offer)
          Creates a new Unicore6ARComputeSLA from an offer.
 
Method Summary
 TimeConstraintType getTimeConstraint()
           
 
Methods inherited from class org.ogf.graap.wsag.api.sla.ComputeJobOffer
getResourceDefinition, getSelectedApplication, getSelectedJobDefinition
 
Methods inherited from class org.ogf.graap.wsag.api.types.AgreementOfferType
getAgreementId, getContext, getInitiatorEPR, getName, getNoncriticalExtensions, getTerms, getXMLObject, setAgreementId, setContext, setInitiatorEPR, setName, setNoncriticalExtensions, setTerms, validate
 
Methods inherited from class org.ogf.graap.wsag.api.types.WSAGXmlType
processTemplate, validate
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvanceReservationComputeJobOffer

public AdvanceReservationComputeJobOffer(AgreementType offer)
Creates a new Unicore6ARComputeSLA from an offer.

Parameters:
offer - the XML agreement representation

AdvanceReservationComputeJobOffer

public AdvanceReservationComputeJobOffer(AgreementTemplateType template)
Creates a new Unicore6ARComputeSLA from a template.

Parameters:
template - the XML agreement template representation
Method Detail

getTimeConstraint

public TimeConstraintType getTimeConstraint()
Returns:
the specified time constraints
See Also:
AdvanceReservationPattern.getTimeConstraint()


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.