|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.team.LoadTeam
This class is used by wt.load.StandardLoadService to create objects
for classes in the wt.team
package.
Supported API: false
StandardLoadService
Field Summary | |
private static String |
CACHE_CURRENTPT
|
private static String |
CACHE_CURRENTTEAM
|
private static String |
CACHE_CURRENTTEAMTEMPLATE
|
private static WTContainerRef |
containerContext
|
private static String |
FOLDER_SEPARATOR
|
private static ResourceBundle |
rb
|
private static String |
RESOURCE
|
private static String |
SYSTEM_CABINET
|
private static boolean |
VERBOSE
|
Constructor Summary | |
LoadTeam()
|
Method Summary | |
static boolean |
createActorRoleHolder(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Builds a hash table of role to actor role mappings, and stores the hash table to the StandardLoadService cache. |
static boolean |
createIndirectRoleHolder(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Builds a hash table of role to role mappings, and stores the hash table to the StandardLoadService cache. |
static boolean |
createRoleHolder(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Adds a "role to principal" mapping to the cached CURRENT PhaseTemplate object (CACHE_CURRENTPT) OR to the cached CURRENT TEAMTEMPLATE (CACHE_CURRENTTEAMTEMPLATE) if there is no CACHE_CURRENTPT). |
static boolean |
createTeamBegin(Hashtable attributes,
Hashtable cmdLineArgs,
Vector return_objects)
Create and persist an empty Team (no participants). |
static boolean |
createTeamBegin(Hashtable attributes,
Hashtable cmdLineArgs,
Vector return_objects,
WTContainerRef context)
Create and persist an empty Team (no participants). |
static boolean |
createTeamEnd(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Repersist a team with all the participants specified. |
static boolean |
createTeamTemplateBegin(Hashtable attributes,
Hashtable cmdLineArgs,
Vector return_objects)
Create and persist an empty TeamTemplate (no participants). |
static boolean |
createTeamTemplateBegin(Hashtable attributes,
Hashtable cmdLineArgs,
Vector return_objects,
WTContainerRef context)
Create and persist an empty TeamTemplate (no participants). |
static boolean |
createTeamTemplateEnd(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Repersist a teamTemplate with all the participants specified. |
private static boolean |
getBoolean(String name,
Hashtable attributes,
Hashtable cmdLineArgs,
int required,
boolean defaultValue)
|
private static AdministrativeDomain |
getDomain(String administrativeDomain,
Hashtable attributes,
Hashtable cmdLineArgs,
int required,
WTContainerRef context)
|
private static Folder |
getFolder(String folderLocation,
Hashtable attributes,
Hashtable cmdLineArgs,
int required,
WTContainerRef context)
|
private static String |
getString(String name,
Hashtable attributes,
Hashtable cmdLineArgs,
int required)
|
protected static void |
printException(String methodName,
Exception e)
Helper method to print stack trace of exception to Method Server log. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final boolean VERBOSE
private static final ResourceBundle rb
private static final String SYSTEM_CABINET
private static final String FOLDER_SEPARATOR
private static final String RESOURCE
private static WTContainerRef containerContext
private static String CACHE_CURRENTTEAM
private static String CACHE_CURRENTTEAMTEMPLATE
private static String CACHE_CURRENTPT
Constructor Detail |
public LoadTeam()
Method Detail |
public static boolean createTeamTemplateBegin(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects)
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createTeamTemplateBegin(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects, WTContainerRef context)
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createTeamTemplateEnd(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
fileFields
- Hashtable containing the values read from the input file.
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createTeamBegin(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects)
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createTeamBegin(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects, WTContainerRef context)
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createTeamEnd(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
fileFields
- Hashtable containing the values read from the input file.
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createIndirectRoleHolder(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
StandardLoadService
cache. This role holder is eventually added
to the appropriate life cycle phase template by the createPhaseTemplateEnd
method.
fileFields
- Hashtable containing the values read from the input file.
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createActorRoleHolder(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
StandardLoadService
cache. This role holder is eventually added
to the appropriate life cycle phase template by the createPhaseTemplateEnd
method.
fileFields
- Hashtable containing the values read from the input file.
wt.load.StandardLoadService.load
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
public static boolean createRoleHolder(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
fileFields
- Hashtable containing the values read in from the input file.
wt.load.StandardLoadService.load
,
wt.lifecycle.WTRoleHolder.addPrincipal
,
createPhaseTemplateBegin
,
createPhaseTemplateEnd
private static String getString(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static AdministrativeDomain getDomain(String administrativeDomain, Hashtable attributes, Hashtable cmdLineArgs, int required, WTContainerRef context) throws IllegalArgumentException
IllegalArgumentException
private static Folder getFolder(String folderLocation, Hashtable attributes, Hashtable cmdLineArgs, int required, WTContainerRef context) throws IllegalArgumentException
IllegalArgumentException
private static boolean getBoolean(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, boolean defaultValue) throws IllegalArgumentException
IllegalArgumentException
protected static void printException(String methodName, Exception e)
methodName
- Name of the calling method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |