public abstract class CreatePolicyList extends BaseTool
| Constructor and Description |
|---|
CreatePolicyList(String[] args)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPolicyListElement(LibrarySession session,
PolicyList pl,
PolicyListElementDefinition pledef)
Add a PolicyListElement to a PolicyList.
|
protected void |
assignClassPolicyList(LibrarySession session,
String className,
PolicyList pl)
Create a PolicyList
|
protected Policy |
createPolicy(LibrarySession session,
String name,
int executionMode,
String action)
Create a Policy.
|
protected PolicyList |
createPolicyList(LibrarySession session,
String name)
Create a PolicyList
|
protected PolicyList |
createPolicyList(LibrarySession session,
String name,
PolicyListElementDefinition[] pledefs)
Create a PolicyList.
|
protected PolicyListElementDefinition |
createPolicyListElementDefinition(LibrarySession session,
String policyName,
String operationName,
long sortSequence)
Create a PolicyListElementDefinition
|
protected PolicyList |
findOrCreateClassPolicyList(LibrarySession session,
String className)
Find a class-level PolicyList by a specified class name.
|
protected ClassObject |
lookupClassObject(LibrarySession session,
String name)
Find a ClassObject by name; return null if no ClassObject
exists with the specified name.
|
protected Policy |
lookupPolicy(LibrarySession session,
String name)
Find a policy by name; return null if no policy
exists with the specified name.
|
protected PolicyList |
lookupPolicyList(LibrarySession session,
String name)
Find a PolicyList by name; return null if no PolicyList
exists with the specified name.
|
disconnectSession, establishSession, establishSession, gatherCredentials, getDatabaseType, getDatabaseUrl, getDomain, getDomainDisplayName, getExitCode, getParameterTable, getSchemaName, getSchemaPassword, getServiceConfigurationName, getServiceName, isVerboseLoggingEnabled, log, log, log, printStackTrace, setExitCode, showBanner, showExiting, startServicepublic CreatePolicyList(String[] args)
args - the command-line argumentsprotected Policy createPolicy(LibrarySession session, String name, int executionMode, String action) throws IfsException
IfsException - if the operation failsprotected PolicyList findOrCreateClassPolicyList(LibrarySession session, String className) throws IfsException
session - the sessionclassName - ClassObject nameIfsException - if operation failsprotected PolicyList createPolicyList(LibrarySession session, String name) throws IfsException
IfsException - if the operation failsprotected PolicyList createPolicyList(LibrarySession session, String name, PolicyListElementDefinition[] pledefs) throws IfsException
IfsException - if the operation failsprotected void addPolicyListElement(LibrarySession session, PolicyList pl, PolicyListElementDefinition pledef) throws IfsException
IfsException - if the operation failsprotected PolicyListElementDefinition createPolicyListElementDefinition(LibrarySession session, String policyName, String operationName, long sortSequence) throws IfsException
IfsException - if the operation failsprotected void assignClassPolicyList(LibrarySession session, String className, PolicyList pl) throws IfsException
IfsException - if the operation failsprotected ClassObject lookupClassObject(LibrarySession session, String name) throws IfsException
session - the sessionname - ClassObject nameIfsException - if operation failsprotected Policy lookupPolicy(LibrarySession session, String name) throws IfsException
session - the sessionname - policy nameIfsException - if operation failsprotected PolicyList lookupPolicyList(LibrarySession session, String name) throws IfsException
session - the sessionname - PolicyList nameIfsException - if operation failsCopyright © 2025. All rights reserved.