Package com.sun.identity.sm
Class ServiceSchemaModifications
- java.lang.Object
-
- com.sun.identity.sm.ServiceSchemaModifications
-
public class ServiceSchemaModifications extends Object
This class determines how a service schema has changed between the current version and the new version in the war file.- Author:
- steve
-
-
Field Summary
Fields Modifier and Type Field Description protected SSOTokenadminTokenprotected StringserviceNameprotected DocumentserviceSchemaDoc
-
Constructor Summary
Constructors Constructor Description ServiceSchemaModifications(String serviceName, Document schemaDoc, SSOToken adminToken, boolean newService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NewServiceWrappergetNewServiceWrapper()Get the wrapper that wraps the new service and any modifications it might have.Set<SchemaUpgradeWrapper>getSchemaModifications()Map<String,ServiceSchemaUpgradeWrapper>getServiceModifications()Map<String,SubSchemaUpgradeWrapper>getSubSchemaChanges()booleanhasSchemaChanges()booleanhasSubSchemaChanges()booleanisServiceModified()
-
-
-
Constructor Detail
-
ServiceSchemaModifications
public ServiceSchemaModifications(String serviceName, Document schemaDoc, SSOToken adminToken, boolean newService) throws UpgradeException
- Throws:
UpgradeException
-
-
Method Detail
-
isServiceModified
public boolean isServiceModified()
-
hasSchemaChanges
public boolean hasSchemaChanges()
-
hasSubSchemaChanges
public boolean hasSubSchemaChanges()
-
getSchemaModifications
public Set<SchemaUpgradeWrapper> getSchemaModifications()
-
getServiceModifications
public Map<String,ServiceSchemaUpgradeWrapper> getServiceModifications()
-
getSubSchemaChanges
public Map<String,SubSchemaUpgradeWrapper> getSubSchemaChanges()
-
getNewServiceWrapper
public NewServiceWrapper getNewServiceWrapper()
Get the wrapper that wraps the new service and any modifications it might have.- Returns:
- The service wrapper.
-
-