org.jboss.system.server.profile.repository
Class NoopProfile
java.lang.Object
org.jboss.system.server.profile.repository.NoopProfile
- All Implemented Interfaces:
- org.jboss.profileservice.spi.Profile
public class NoopProfile
- extends Object
- implements org.jboss.profileservice.spi.Profile
A empty profile, which does not contain any deployments. This profile
basically just has a key and dependencies on other profiles.
- Version:
- $Revision$
- Author:
- Emanuel Muckenhuber
NoopProfile
public NoopProfile(org.jboss.profileservice.spi.ProfileKey key)
NoopProfile
public NoopProfile(org.jboss.profileservice.spi.ProfileKey key,
List<org.jboss.profileservice.spi.ProfileKey> subProfiles)
getKey
public org.jboss.profileservice.spi.ProfileKey getKey()
- Specified by:
getKey
in interface org.jboss.profileservice.spi.Profile
getLastModified
public long getLastModified()
- Specified by:
getLastModified
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)
getDeploymentNames
public Set<String> getDeploymentNames()
- Specified by:
getDeploymentNames
in interface org.jboss.profileservice.spi.Profile
getDeployments
public Collection<org.jboss.profileservice.spi.ProfileDeployment> getDeployments()
- Specified by:
getDeployments
in interface org.jboss.profileservice.spi.Profile
getDeployment
public org.jboss.profileservice.spi.ProfileDeployment getDeployment(String name)
throws org.jboss.profileservice.spi.NoSuchDeploymentException
- Specified by:
getDeployment
in interface org.jboss.profileservice.spi.Profile
- 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.