public class MasterConfigurationApplication extends AbstractTaurusApplication
Handles two custom attributes which are set and updated by master configurations:
ApplicationOptions.getVersion().ITaurusApplication.EModelUpdateStatus| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_MASTER_MODEL_LOCATION
Custom attribute: AWM model location defined in the master configuration.
|
static java.lang.String |
ATTRIBUTE_MASTER_MODEL_VERSION
Custom attribute: AWM model version defined in the master configuration.
|
ID_PREFIX| Constructor and Description |
|---|
MasterConfigurationApplication(java.lang.String pName,
ITaurusSystem pSystem,
java.lang.String pModelLocation,
java.lang.String pNewestModelVersion)
Creates a new master configuration application.
|
| Modifier and Type | Method and Description |
|---|---|
ITaurusApplication.EModelUpdateStatus |
checkForModelUpdate(org.eclipse.core.runtime.IProgressMonitor pMon)
Checks whether a new model is available for the application.
|
java.lang.String |
getMasterConfigurationModelVersion()
Gets the model version from the master configuration.
|
java.lang.String |
getModelLocation()
Gets the location of the model file.
|
addApplicationProperty, addStaticProperty, copySortedSet, equals, getApplicationProperties, getChildren, getChildren, getCustomAttribute, getCustomAttributes, getModel, getStaticProperties, getTaurusSystem, hasChildren, hashCode, loadApplication, removeApplicationProperty, removeChildren, toString, unloadApplicationaddChildResource, addPropertyValue, addResourceChild, delete, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, getValueOfLinkedProperty, removeProperty, removeResourceChild, setName, setPropertyValuesaddChildResource, addPropertyValue, addResourceChild, delete, getAllPropertyValues, getChildrenResources, getID, getName, getParentResource, getPropertyValue, getPropertyValueFromHierarchy, getResourceChildren, removeResourceChild, setName, setPropertyValuespublic static final java.lang.String ATTRIBUTE_MASTER_MODEL_VERSION
public static final java.lang.String ATTRIBUTE_MASTER_MODEL_LOCATION
public MasterConfigurationApplication(java.lang.String pName,
ITaurusSystem pSystem,
java.lang.String pModelLocation,
java.lang.String pNewestModelVersion)
pName - the name of the application (must be unique)pSystem - the parent AWM systempModelLocation - the model location (from the master configuration)pNewestModelVersion - the newest model version (from the master configuration)public ITaurusApplication.EModelUpdateStatus checkForModelUpdate(org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
ITaurusApplicationpMon - a progress monitorTaurusCoreException - if checking for a model update failspublic java.lang.String getModelLocation()
public java.lang.String getMasterConfigurationModelVersion()
Copyright © 2015 Micro Focus GmbH. All rights reserved.