UNICORE Resource Broker Client Plugin
1.5α1

org.eurogrid.broker.client
Class OfferTableModel.Comparison

java.lang.Object
  |
  +--org.eurogrid.broker.client.OfferTableModel.Comparison
All Implemented Interfaces:
Comparable, Serializable
Enclosing class:
OfferTableModel

public static final class OfferTableModel.Comparison
extends Object
implements Serializable, Comparable

Used in constructing broker-offer comparison policies.

See Also:
BrokerOffer, Serialized Form

Field Summary
static OfferTableModel.Comparison BY_CONVERTED_COST
           
static OfferTableModel.Comparison BY_COST
          Compare by numeric cost
static OfferTableModel.Comparison BY_END_FIRST
          Compare by when the earliest time that the job may end
static OfferTableModel.Comparison BY_END_LAST
          Compare by when the latest time that the job may end
static OfferTableModel.Comparison BY_START_FIRST
          Compare by when the earliest time that the job may start
static OfferTableModel.Comparison BY_START_LAST
          Compare by when the latest time that the job may start
static OfferTableModel.Comparison BY_UNITS
          Compare by the units that the cost is in
static OfferTableModel.Comparison BY_USITE
          Compare by the address of the Usite
static OfferTableModel.Comparison BY_VALID
          Compare by whether the offer is a valid one
static OfferTableModel.Comparison BY_VSITE
          Compare by the name of the Vsite
 
Method Summary
 int compareTo(Object o)
           
static List getAllInstances()
           
static OfferTableModel.Comparison getInstance(String name)
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BY_CONVERTED_COST

public static final OfferTableModel.Comparison BY_CONVERTED_COST

BY_COST

public static final OfferTableModel.Comparison BY_COST
Compare by numeric cost


BY_END_FIRST

public static final OfferTableModel.Comparison BY_END_FIRST
Compare by when the earliest time that the job may end


BY_END_LAST

public static final OfferTableModel.Comparison BY_END_LAST
Compare by when the latest time that the job may end


BY_START_FIRST

public static final OfferTableModel.Comparison BY_START_FIRST
Compare by when the earliest time that the job may start


BY_START_LAST

public static final OfferTableModel.Comparison BY_START_LAST
Compare by when the latest time that the job may start


BY_UNITS

public static final OfferTableModel.Comparison BY_UNITS
Compare by the units that the cost is in


BY_USITE

public static final OfferTableModel.Comparison BY_USITE
Compare by the address of the Usite


BY_VALID

public static final OfferTableModel.Comparison BY_VALID
Compare by whether the offer is a valid one


BY_VSITE

public static final OfferTableModel.Comparison BY_VSITE
Compare by the name of the Vsite

Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getAllInstances

public static List getAllInstances()

getInstance

public static OfferTableModel.Comparison getInstance(String name)

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

UNICORE Resource Broker Client Plugin
1.5α1

Submit a bug or feature
Copyright © 2002-2004 University of Manchester, U.K. See license.terms for details.