|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.build.EPMDefaultBuildIBADelegate
Decides what attribute values from the build source to publish to the build target based upon the teamtemplate of the build target.
To determine what attributes to publish for a given team template, the delegate reads a property defined in the wt.properties file. Each team template may define its own property. A default property applies to all team templates not defining a property of their own. This default setting will be used for objects using lite lifecycle templates which do not have teamtemplates, as well as those objects using a team template which is not specifically specified.
Form for the Default: wt.epm.build.attributes.default=delimiter separated list of attributes to publish
Form for a Specific Team Template: wt.epm.build.attributes.teamTemplate.container path.team template name=delimiter separated list of attributes to publish
The container path is excluded if it is the classic container.
Container path separators of commas are replaced in the properties by
periods.
Spaces following commas are removed.
Spaces within containers are changed to underscores.
For example, given a container path of Site, Organization Design, Library
Stock parts convert this to Site.Organization_Design.Library_Stock_parts
to get the appropriate property name
(e.g. wt.epm.build.attributes.teamtemplate.Site.Organization_Design,Library_Stock_parts.teamtemplate
name)
in properties file.
* means publish all attributes. The property "wt.epm.build.attributes.delimiter"
defines the delimiter that separates the attributes on the list.
Supported API: false
Extendable: false
Nested Class Summary | |
protected static class |
EPMDefaultBuildIBADelegate.Filter
|
Field Summary | |
private static String |
ALL_ATTRIBUTES
|
private static String |
ATTRIBUTE_DELIMITER_PROPERTY
|
private static String |
CLASSNAME
|
private static String |
COMMA
|
private static String |
CONTAINER_PATH_DELIMETERS
|
private static char |
CONTAINER_PATH_SEPERATOR
|
private static char |
CONTAINER_SPACE_REPLACEMENT
|
private static String |
DEFAULT_TEAM_PROPERTY
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static char |
HIERARCHY_NAME_DELIMITER
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static String |
SPACE
|
private static String |
TEAM_PROPERTY_PREFIX
|
Constructor Summary | |
EPMDefaultBuildIBADelegate()
|
Method Summary | |
QueryResult |
getDataToPublish(IBAHolder source,
IBAHolder target)
For a given a build source and target, returns a query result that contains the attribute values to publish to the build target. |
QueryResult |
getDataToPublishOnMaster(IBAHolder[] sources,
IBAHolder target)
For a given target master and build sources masters , returns a query result that contains the attribute values to publish to the build target master. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(EPMDefaultBuildIBADelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
updateModelAttributes(EPMDocument source,
WTPart target)
Populates modeled attribute on target from IBA in the given source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final char CONTAINER_PATH_SEPERATOR
private static final String CONTAINER_PATH_DELIMETERS
private static final char CONTAINER_SPACE_REPLACEMENT
private static final String SPACE
private static final String COMMA
private static final char HIERARCHY_NAME_DELIMITER
private static final String ALL_ATTRIBUTES
private static final String ATTRIBUTE_DELIMITER_PROPERTY
private static final String TEAM_PROPERTY_PREFIX
private static final String DEFAULT_TEAM_PROPERTY
Constructor Detail |
public EPMDefaultBuildIBADelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(EPMDefaultBuildIBADelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public QueryResult getDataToPublish(IBAHolder source, IBAHolder target) throws WTException
getDataToPublish
in interface EPMBuildIBADelegate
source
- target
-
WTException
public QueryResult getDataToPublishOnMaster(IBAHolder[] sources, IBAHolder target) throws WTException
getDataToPublishOnMaster
in interface EPMBuildIBADelegate
sources
- target
-
WTException
public boolean updateModelAttributes(EPMDocument source, WTPart target) throws WTException
updateModelAttributes
in interface EPMBuildIBADelegate
source
- target
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |