org.jboss.system.server.profile.repository
Class AbstractImmutableProfile
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource
org.jboss.system.server.profile.repository.AbstractImmutableProfile
- All Implemented Interfaces:
- org.jboss.profileservice.spi.Profile
public class AbstractImmutableProfile
- extends AbstractVFSProfileSource
- implements org.jboss.profileservice.spi.Profile
A immutable vfs based profile.
- Version:
- $Revision: 86174 $
- Author:
- Emanuel Muckenhuber
Methods inherited from class org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource |
acceptsDeployment, addDeployment, addedDeployment, addedDeployments, addVirtualFileCache, createDeployment, destroy, findDeploymentContent, getCachedVirtualFile, getCachedVirtualFile, getDeploymentFilter, getDeploymentNames, getDeployments, getLastModified, getRepositoryURIs, isRecursiveScan, loadApplications, removeDeployment, setDeploymentFilter, setRecursiveScan, updateLastModfied |
Methods inherited from interface org.jboss.profileservice.spi.Profile |
getDeploymentNames, getDeployments, getLastModified |
AbstractImmutableProfile
public AbstractImmutableProfile(org.jboss.profileservice.spi.ProfileKey key,
URI[] uris)
AbstractImmutableProfile
public AbstractImmutableProfile(org.jboss.profileservice.spi.ProfileKey key,
URI[] uris,
List<org.jboss.profileservice.spi.ProfileKey> subprofiles)
create
public void create()
throws Exception
- Throws:
Exception
getKey
public org.jboss.profileservice.spi.ProfileKey getKey()
- Specified by:
getKey
in interface org.jboss.profileservice.spi.Profile
getSubProfiles
public Collection<org.jboss.profileservice.spi.ProfileKey> getSubProfiles()
- Specified by:
getSubProfiles
in interface org.jboss.profileservice.spi.Profile
setSubProfiles
public void setSubProfiles(List<org.jboss.profileservice.spi.ProfileKey> subProfiles)
getDeployment
public org.jboss.profileservice.spi.ProfileDeployment getDeployment(String vfsPath)
throws org.jboss.profileservice.spi.NoSuchDeploymentException
- Description copied from class:
AbstractVFSProfileSource
- Get the deployment
- Specified by:
getDeployment
in interface org.jboss.profileservice.spi.Profile
- Overrides:
getDeployment
in class AbstractVFSProfileSource
- Parameters:
vfsPath
- the deployment
- Returns:
- the deployment or null if it does not exist
- Throws:
org.jboss.profileservice.spi.NoSuchDeploymentException
hasDeployment
public boolean hasDeployment(String name)
- Specified by:
hasDeployment
in interface org.jboss.profileservice.spi.Profile
isMutable
public boolean isMutable()
- Specified by:
isMutable
in interface org.jboss.profileservice.spi.Profile
toString
public String toString()
- Overrides:
toString
in class Object
toString
protected void toString(StringBuilder builder)
- Additional information for toString().
- Parameters:
builder
- the builder.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.