public class ALSBImportOperation extends Object implements Serializable
ALSBJarInfo.getDefaultImportPlan()
method to get the default operations. Refer to each field's description for the default values returned.
See ALSBImportPlan
for more information.
Modifier and Type | Class and Description |
---|---|
static class |
ALSBImportOperation.Operation |
Constructor and Description |
---|
ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues)
Constructor
|
ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues, boolean preserveExistingSecurityAndPolicyConfig, boolean preserveExistingCredentials, boolean preserveExistingAccessControlPolicies)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ALSBImportOperation.Operation |
getOperation() |
Ref |
getRef() |
boolean |
isPreserveExistingAccessControlPolicies() |
boolean |
isPreserveExistingCredentials() |
boolean |
isPreserveExistingEnvValues() |
boolean |
isPreserveExistingOperationalValues() |
boolean |
isPreserveExistingSecurityAndPolicyConfig() |
void |
setDelete()
Marks the operation so that the resource is deleted.
|
void |
setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies) |
void |
setPreserveExistingCredentials(boolean preserveExistingCredentials) |
void |
setPreserveExistingEnvValues(boolean preserveExistingEnvValues) |
void |
setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues) |
void |
setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig) |
void |
setSkip()
Changes the existing operation to a skip so that the operation is not performed.
|
public ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues)
ref
- reference to the resource that is being considered by the import process.operation
- The operation that will be performed on the resource. The operation can be ALSBImportOperation.Operation.Skip
indicating that the resource will not be affected by import. A value of ALSBImportOperation.Operation.Delete
causes the existing resource will be deleted. This operation is only meaningful if a resource exists in the domain but not in the jar file. Using a delete operation in any other scenario will cause an exception during the import. The users of this constructor can use ALSBImportOperation.Operation.Create
and ALSBImportOperation.Operation.Update
interchangeably to indicate that the resource will be imported from the jar file. The underlying system will correctly perform either Create or Update depending on whether the resource exists in the domain or not. In other words the users need not distinguish between the case in which a resource already exists in the domain, and not exist in the domain.preserveExistingEnvValues
- whether to preserve the existing environment values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the environment specific values.preserveExistingOperationalValues
- whether to preserve the existing operational values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the operational values.public ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues, boolean preserveExistingSecurityAndPolicyConfig, boolean preserveExistingCredentials, boolean preserveExistingAccessControlPolicies)
ref
- reference to the resource that is being considered by the import process.operation
- The operation that will be performed on the resource. The operation can be ALSBImportOperation.Operation.Skip
indicating that the resource will not be affected by import. A value of ALSBImportOperation.Operation.Delete
causes the existing resource will be deleted. This operation is only meaningful if a resource exists in the domain but not in the jar file. Using a delete operation in any other scenario will cause an exception during the import. The users of this constructor can use ALSBImportOperation.Operation.Create
and ALSBImportOperation.Operation.Update
interchangeably to indicate that the resource will be imported from the jar file. The underlying system will correctly perform either Create or Update depending on whether the resource exists in the domain or not. In other words the users need not distinguish between the case in which a resource already exists in the domain, and not exist in the domain.preserveExistingEnvValues
- whether to preserve the existing environment values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the environment specific values.preserveExistingOperationalValues
- whether to preserve the existing operational values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the operational values.preserveExistingSecurityAndPolicyConfig
- whether to preserve the existing security and policy configuration of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the security and policy configuration.preserveExistingCredentials
- whether to preserve the existing credentials of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the resource credentials.preserveExistingAccessControlPolicies
- whether to preserve the existing access control policies of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the access control policies.public Ref getRef()
public boolean isPreserveExistingEnvValues()
public void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
public boolean isPreserveExistingOperationalValues()
public void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
public boolean isPreserveExistingSecurityAndPolicyConfig()
public void setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
public boolean isPreserveExistingCredentials()
public void setPreserveExistingCredentials(boolean preserveExistingCredentials)
public boolean isPreserveExistingAccessControlPolicies()
public void setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
public ALSBImportOperation.Operation getOperation()
public void setSkip()
public void setDelete()