RepositoryInfo

RepositoryInfo is a representation of a repository grid object. This class provides accessors and setters for Repository facts. See MatrixInfo for how to script creation of Repository objects.

Constructor

RepositoryInfo Construct an instance of RepositoryInfo

Field Summary

static String 	SAN_TYPE_FibreChannel
static String 	SAN_TYPE_ISCSI
static String 	SAN_VENDOR_IQN
static String 	SAN_VENDOR_NPIV
static String 	TYPE_DATAGRID
static String 	TYPE_LOCAL
static String 	TYPE_NAS
static String 	TYPE_SAN
static String 	TYPE_VIRTUAL
static String 	TYPE_WAREHOUSE 

Methods

Inherited from class com.gridion.jdl.GridObjectInfo:

deleteFact, factExists, getFact, getFactLastModified, getFactNames, refresh, setArrayFact, setBooleanArrayFact, setDateArrayFact, setDateFact, setFact, setIntegerArrayFact, setRealArrayFact, setStringArrayFact, setTimeArrayFact, setTimeFact

See GridObjectInfo.

Examples

VmSpec here is used for creating a clone on a named host from a template resource:

      resource = getMatrix().getGridObject(TYPE_RESOURCE,"myTemplate")      spec = VmSpec()      spec.setNewName("newvm")      spec.setHost('vmhost-qa')      resource.clone(spec)

See Also