|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableProfile
A mutable profile.
Method Summary | |
---|---|
void |
addDeployment(ProfileDeployment deployment)
Add a deployment. |
void |
enableModifiedDeploymentChecks(boolean flag)
Enable/disable the getModifiedDeployments results. |
Collection<ModificationInfo> |
getModifiedDeployments()
Get the deployments that have been modified since the last check. |
ProfileDeployment |
removeDeployment(String name)
Remove a deployment. |
Methods inherited from interface org.jboss.profileservice.spi.Profile |
---|
getDeployment, getDeploymentNames, getDeployments, getKey, getLastModified, getSubProfiles, hasDeployment, isMutable |
Method Detail |
---|
void addDeployment(ProfileDeployment deployment) throws Exception
deployment
- the deployment
Exception
- for any errorProfileDeployment removeDeployment(String name) throws NoSuchDeploymentException, Exception
name
- the deployment name
NoSuchDeploymentException
- if the deployment was not found
Exception
- for any errorCollection<ModificationInfo> getModifiedDeployments() throws Exception
Exception
- - thrown on error scanning for deploymentsvoid enableModifiedDeploymentChecks(boolean flag)
flag
- - the enable/disable flaggetModifiedDeployments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |