|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface for configuration objects which are the root of the typed DOM for a development configuration. The configuration specifies the cBS build space to be used and contains the definitions of the compartments of the configuration.
| Field Summary | |
static java.lang.String |
INDEX_DOCTYPE
The document type identifier in the form of an URN as needed by the indexing service |
static java.lang.String |
NAMESPACE
The XML namespace used by development components. |
static java.lang.String |
SCHEMA_LOCATION
The name of the XML schema defining the serialized form of this API |
| Method Summary | |
void |
addCompartment(Compartment compartment)
Add a new compartment or overwrite existing one with same name |
Property |
addProperty(java.lang.String name,
java.lang.String namespaceURI)
Adds a property to the list of properties. |
Property |
addProperty(java.lang.String name,
java.lang.String namespaceURI,
java.lang.String value)
Adds a property to the list of properties. |
java.util.Map |
emptyCompartments()
Removes all entries from the Map of compartments, or creates a new empty Map. |
java.util.List |
emptyProperties()
Removes the entries from the list of properties, or creates a new empty property list. |
java.lang.String |
getBuildServer()
gets the URL of the buildserver |
java.lang.String |
getCaption()
gets the display name |
java.lang.String |
getCMS()
get the URL of the Change Management Server where this configuration is maintained. |
Compartment |
getCompartmentByAlias(java.lang.String referencingCompartmentName,
java.lang.String aliasName)
gets the default compartment for the specified software component |
java.util.Map |
getCompartments()
get the Map with Compartment objects for all compartments The compartmnet name is used the key in the map |
java.lang.String |
getConfigVersion()
gets the version of the configuration definition file |
Compartment |
getDefaultCompartmentForSC(java.lang.String scVendor,
java.lang.String scName)
gets the default compartment for the specified software component. |
java.lang.String |
getDescription()
gets the description of the purpose of the configuration |
java.lang.String |
getDocumentTypeVersion()
Deprecated. replaced by #getSchemaVersion() |
java.lang.String |
getLocation()
gets the Software-Logistics location to which this confoguration belongs |
java.lang.String |
getName()
gets the technical identifier of the configuration as a String |
java.lang.String |
getNameServer()
get the URL of the name server that is used for this configuration |
java.lang.String |
getOriginalDocumentTypeVersion()
Deprecated. |
java.util.List |
getProperties()
Returns the list of properties. |
Property |
getProperty(java.lang.String name)
Returns the property matching the given name. |
Property |
getProperty(java.lang.String name,
java.lang.String namespaceURI)
Returns the property matching the given name and namespace. |
java.lang.String |
getSchemaVersion()
Returns the currently active schema version. |
void |
initialize(ConfigurationInputProvider provider)
Initializes this Configuration. |
boolean |
isLocal()
gets the isLocal property. |
boolean |
isSchemaAllowed()
Checks whether it would be possible to serialize the component with the currently active schema version. |
boolean |
isSchemaAllowed(java.lang.String schemaVersion)
Checks whether it would be possible to serialize the component with the given schema version |
void |
serialize(ConfigurationOutputProvider provider)
Serializes this Configuration. |
void |
serialize(ConfigurationOutputProvider provider,
java.lang.String schemaVersion)
Serializes this Configuration. |
void |
setBuildServer(java.lang.String value)
sets the URL of the buildserver describing for central make and activation |
void |
setCaption(java.lang.String value)
sets the display name |
void |
setCMS(java.lang.String cmsURL)
set the URL of the Change Management Server where this configuration is maintained. |
void |
setConfigVersion(java.lang.String value)
gets the version of the configuration |
void |
setDescription(java.lang.String value)
sets the description of the purpose of the configuration |
void |
setLocal(boolean isLoca)
Sets the isLocal property. |
void |
setLocation(java.lang.String location)
Sets the Software-Logistics location to which this confoguration belongs |
void |
setName(java.lang.String value)
sets the technical identifier of the configuration |
void |
setNameServer(java.lang.String nameServerURL)
set the URL of the name server that is used for this configuration |
void |
validate()
Verifies that the configuration is valid. |
| Field Detail |
public static final java.lang.String NAMESPACE
public static final java.lang.String INDEX_DOCTYPE
public static final java.lang.String SCHEMA_LOCATION
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getCaption()
public void setCaption(java.lang.String value)
public void setBuildServer(java.lang.String value)
public java.lang.String getBuildServer()
public boolean isLocal()
public void setLocal(boolean isLoca)
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - the SL-location Stringpublic java.lang.String getCMS()
public void setCMS(java.lang.String cmsURL)
cmsURL - a String with the URL of the CMSpublic java.lang.String getNameServer()
a - String with the URL of the name serverpublic void setNameServer(java.lang.String nameServerURL)
nameServerURL - a String with the URL of the name serverpublic java.util.List emptyProperties()
public Property addProperty(java.lang.String name,
java.lang.String namespaceURI)
name - the name of the propertynamespaceURI - an URI or URL identifying the namespace to which the
property belongs to.
public Property addProperty(java.lang.String name,
java.lang.String namespaceURI,
java.lang.String value)
name - the name of the propertynamespaceURI - an URI or URL identifying the namespace to which the
property belongs to.value - the simple value of the property.public Property getProperty(java.lang.String name)
name - the name of the property
public Property getProperty(java.lang.String name,
java.lang.String namespaceURI)
name - the name of the propertynamespaceURI - the namespace the property belongs to
identified by a URIpublic java.util.List getProperties()
public java.util.Map getCompartments()
public void addCompartment(Compartment compartment)
public java.util.Map emptyCompartments()
public Compartment getDefaultCompartmentForSC(java.lang.String scVendor,
java.lang.String scName)
public Compartment getCompartmentByAlias(java.lang.String referencingCompartmentName,
java.lang.String aliasName)
throws ConfigurationException
referencingCompartmentName - the name of the compartmnet where the alias is usedaliasName - the name of the aliasConfigurationException - if the alias or the mapped compartment do not existpublic java.lang.String getSchemaVersion()
ComponentFactory.getSchemaVersions().public boolean isSchemaAllowed()
ComponentFactory.SCHEMA_VERSION.public boolean isSchemaAllowed(java.lang.String schemaVersion)
schemaVersion - the version to checkpublic java.lang.String getDocumentTypeVersion()
public java.lang.String getOriginalDocumentTypeVersion()
public java.lang.String getConfigVersion()
public void setConfigVersion(java.lang.String value)
public void initialize(ConfigurationInputProvider provider)
throws java.io.IOException,
XMLException,
ProviderException,
ValidationException
provider - the provider that provides InputStreams for initialization.java.io.IOException - if an i/o error occured.XMLException - if an exception occured in the parserProviderException - if the provider was not able to suppy a valid
input stream for initializetion.
public void serialize(ConfigurationOutputProvider provider)
throws java.io.IOException,
ProviderException
provider - the provider that provide OutputStreams for serialization.java.io.IOException - if an i/o error occured.ProviderException - if the provider was not able to suppy a valid
output stream for serialization.
public void serialize(ConfigurationOutputProvider provider,
java.lang.String schemaVersion)
throws java.io.IOException,
ProviderException
provider - the provider that provide OutputStreams for serialization.schemaVersion - the schema version to use for serializationjava.io.IOException - if an i/o error occured.ProviderException - if the provider was not able to suppy a valid
output stream for serialization.
public void validate()
throws ValidationException
ValidationException - if the object is not valid.
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||