|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CcConfigSpec
The configuration specification ("config spec") for a ClearCase view. A view's config spec determines which elements appear in a view, and which version of each element is selected by the view. For snapshot and web views, the config spec also determines which files are loaded in the view.
A ConfigSpec has two sections, one containing element rules and one containing load rules. Methods are provided to manipulate each of these sections.
CcView.getConfigSpec returns a ConfigSpec object. Note that it is necessary to set the CONFIG_SPEC property on the desired view proxy and write that proxy's properties in order for this change to take effect.
Method Summary | |
---|---|
String |
getCSpec()
Returns the configuration specification minus the auto generated UCM section, if any. |
String |
getElementRules()
Returns the "Element Rules" section (everything except the load rules) of the configuration specification. |
String |
getLoadRules()
Returns the load-rules section of a configuration specification. |
String |
getLoadRulesNoComments()
Returns the filtered load-rules section (i.e free from comments, if any) of a configuration specification. |
String |
getUcmElementRules()
Returns the automatically-generated UCM section of the configuration specification. |
void |
setCSpec(String cspec)
Sets the configuration specification after adding the auto generated UCM section, if any. |
void |
setElementRules(String elementRules)
Sets the "Element Rules" (everything except the load rules) section of a ConfigSpec object. |
void |
setForceAutomaticViewUpdateFlag(boolean force)
If true (default), element rules and load rules are updated in the config spec. |
void |
setLoadRules(String loadRules)
Sets the load-rules section of a configuration specification. |
Method Detail |
---|
String getCSpec()
String getElementRules()
String getLoadRules()
String getLoadRulesNoComments()
String getUcmElementRules()
void setCSpec(String cspec)
cspec
- a newline-separated string representing the new load configuration specificationvoid setElementRules(String elementRules)
elementRules
- a newline-separated string representing the new element rulesvoid setForceAutomaticViewUpdateFlag(boolean force)
force
- void setLoadRules(String loadRules)
loadRules
- a newline-separated string representing the new load rules
|
Generated Wed 13-Apr-2016 10:51 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |