public class ALSBImportPlan extends Object implements Serializable
ALSBConfigurationMBean.importUploaded(ALSBImportPlan)
and executed by that method. An import plan contains a set of ALSBImportOperation
objects for resources that are affected by the import plan. ALSBImportOperation
contains the following information:
ALSBJarInfo.getDefaultImportPlan()
method : Clients can first obtain the ALSBJarInfo
object by calling ALSBConfigurationMBean.getImportJarInfo()
. Then call the relevant method to obtain the default import plan. The client can then further teak or totally alter the default plan and pass it to the import method. The contents of the default plan is described below.ALSBImportOperation
for more information. The import plan need not contain an import operation for each and every resource in the jar file. Resource that need not be imported at all can be left out from the plan.ALSBJarInfo
object contains the default import plan. The default import plan is primarily affected by whether the jar file was exported at the project level or resource level. Based on this, and whether a resource exists in the jar file, and in the domain, the following default import operation is created for each resource.
The import operations in the default plan preserve environment values and operational settings by default. The default import plan can further be modified to skip operations, or change the environment value / operational value preservation behavior individually.
For more information about individual resource operations see ALSBImportOperation
Constructor and Description |
---|
ALSBImportPlan()
Creates a blank import plan
|
ALSBImportPlan(Map<Ref,ALSBImportOperation> operations, char[] passphrase) |
ALSBImportPlan(Map<Ref,ALSBImportOperation> operations, String passphrase)
Deprecated.
As of 12c, replaced by
ALSBImportPlan(Map<Ref, ALSBImportOperation> operations, char[] passphrase) . |
Modifier and Type | Method and Description |
---|---|
void |
addOperation(ALSBImportOperation operation)
Adds an operation for the existing plan.
|
Map<Ref,ALSBImportOperation> |
getOperations()
Returns import operations that will be performed by the import plan.
|
String |
getPassphrase()
Deprecated.
As of 12c, replaced by
getPasswordphrase . |
char[] |
getPasswordphrase()
Get pass phrase to use for decrypting resources that have been encrypted.
|
void |
removeOperation(Ref ref)
Removes the import operation for the given reference.
|
void |
setPassphrase(String pass)
Deprecated.
As of 12c, replaced by
setPasswordphrase . |
void |
setPasswordphrase(char[] pass)
Sets the passphrase
|
void |
setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
Sets the value of preserveExistingAccessControlPolicies flag across all import operations.
|
void |
setPreserveExistingCredentials(boolean preserveExistingCredentials)
Sets the value of preserveExistingCredentials flag across all import operations.
|
void |
setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
Sets the value of preserveExistingEnvValues flag across all import operations.
|
void |
setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
Sets the value of preserveExistingOperationValues flag across all import operations.
|
void |
setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
Sets the value of preserveExistingSecurityAndPolicyConfig flag across all import operations.
|
public ALSBImportPlan()
@Deprecated public ALSBImportPlan(Map<Ref,ALSBImportOperation> operations, String passphrase)
ALSBImportPlan(Map<Ref, ALSBImportOperation> operations, char[] passphrase)
.operations
- a map of operations for all resources. One ALSBImportOperation per resource need to be passed.ALSBImportOperation
passphrase
- the pass phrase to use for decrypting resources that have been encrypted. Null value can be given if the jar file is known to not have been encrypted. For security reasons, this constructor is deprecated. Use the * ALSBImportPlan(Map<Ref, ALSBImportOperation> operations, char[] passphrase)
constuctor instead.public ALSBImportPlan(Map<Ref,ALSBImportOperation> operations, char[] passphrase)
operations
- a map of operations for all resources. One ALSBImportOperation per resource need to be passed.ALSBImportOperation
passphrase
- the pass phrase to use for decrypting resources that have been encrypted. Null value can be given if the jar file is known to not have been encrypted.@Deprecated public String getPassphrase()
getPasswordphrase
.* getPasswordphrase
method instead.public char[] getPasswordphrase()
@Deprecated public void setPassphrase(String pass)
setPasswordphrase
.* setPasswordphrase
method instead.pass
-public void setPasswordphrase(char[] pass)
pass
-public void addOperation(ALSBImportOperation operation)
operation
- that needs to be addedpublic void removeOperation(Ref ref)
ALSBImportOperation.setSkip()
method.ref
-public Map<Ref,ALSBImportOperation> getOperations()
public void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
ALSBImportOperation.setPreserveExistingEnvValues(boolean)
method for setting this flag on a per-resource basis.preserveExistingEnvValues
-public void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
ALSBImportOperation.setPreserveExistingOperationalValues(boolean)
method for setting this flag on a per-resource basis.preserveExistingOperationalValues
-public void setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
ALSBImportOperation.setPreserveExistingSecurityAndPolicyConfig(boolean)
method for setting this flag on a per-resource basis.preserveExistingSecurityAndPolicyConfig
-public void setPreserveExistingCredentials(boolean preserveExistingCredentials)
ALSBImportOperation.setPreserveExistingCredentials(boolean)
method for setting this flag on a per-resource basis.preserveExistingCredentials
-public void setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
ALSBImportOperation.setPreserveExistingAccessControlPolicies(boolean)
method for setting this flag on a per-resource basis.preserveExistingAccessControlPolicies
-