Forge - Maven Impl 2.0.0.Alpha3

org.jboss.forge.maven.resources
Class MavenProfileResourceImpl

java.lang.Object
  extended by org.jboss.forge.facets.AbstractFaceted<ResourceFacet>
      extended by org.jboss.forge.resource.AbstractResource<T>
          extended by org.jboss.forge.resource.VirtualResource<org.apache.maven.model.Profile>
              extended by org.jboss.forge.maven.resources.MavenProfileResourceImpl
All Implemented Interfaces:
org.jboss.forge.facets.Faceted<ResourceFacet>, MavenProfileResource, Resource<org.apache.maven.model.Profile>

public class MavenProfileResourceImpl
extends VirtualResource<org.apache.maven.model.Profile>
implements MavenProfileResource

Author:
Aslak Knutsen, Lincoln Baxter, III

Field Summary
 
Fields inherited from class org.jboss.forge.resource.AbstractResource
parent, resourceFactory
 
Constructor Summary
MavenProfileResourceImpl(ResourceFactory factory, Resource<?> parent, org.apache.maven.model.Profile profile)
           
 
Method Summary
 boolean delete()
           
 boolean delete(boolean recursive)
           
protected  List<Resource<?>> doListResources()
           
 String getName()
           
 org.apache.maven.model.Profile getUnderlyingResourceObject()
           
 
Methods inherited from class org.jboss.forge.resource.VirtualResource
createFrom, exists, getChild, getResourceInputStream
 
Methods inherited from class org.jboss.forge.resource.AbstractResource
equals, getFullyQualifiedName, getParent, getResourceFactory, hashCode, listResources, listResources, reify, supports
 
Methods inherited from class org.jboss.forge.facets.AbstractFaceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstall
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.resource.Resource
createFrom, exists, getChild, getFullyQualifiedName, getParent, getResourceFactory, getResourceInputStream, listResources, listResources, reify
 
Methods inherited from interface org.jboss.forge.facets.Faceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall
 

Constructor Detail

MavenProfileResourceImpl

public MavenProfileResourceImpl(ResourceFactory factory,
                                Resource<?> parent,
                                org.apache.maven.model.Profile profile)
Method Detail

getName

public String getName()
Specified by:
getName in interface Resource<org.apache.maven.model.Profile>

doListResources

protected List<Resource<?>> doListResources()
Specified by:
doListResources in class AbstractResource<org.apache.maven.model.Profile>

getUnderlyingResourceObject

public org.apache.maven.model.Profile getUnderlyingResourceObject()
Specified by:
getUnderlyingResourceObject in interface Resource<org.apache.maven.model.Profile>

delete

public boolean delete()
               throws UnsupportedOperationException
Specified by:
delete in interface Resource<org.apache.maven.model.Profile>
Throws:
UnsupportedOperationException

delete

public boolean delete(boolean recursive)
               throws UnsupportedOperationException
Specified by:
delete in interface Resource<org.apache.maven.model.Profile>
Throws:
UnsupportedOperationException

Forge - Maven Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.