public class JavaMethodResourceImpl extends AbstractJavaMemberResource<Method> implements JavaMethodResource
parent, resourceFactory| Constructor and Description |
|---|
JavaMethodResourceImpl(ResourceFactory factory,
Resource<?> parent,
Method<? extends JavaSource<?>> method) |
| Modifier and Type | Method and Description |
|---|---|
Resource<Method> |
createFrom(Method file) |
boolean |
delete() |
boolean |
delete(boolean recursive) |
protected List<Resource<?>> |
doListResources() |
String |
getName() |
Method<? extends JavaSource<?>> |
getUnderlyingResourceObject() |
boolean |
supports(ResourceFacet type) |
String |
toString() |
exists, getChild, getResourceInputStreamequals, getFullyQualifiedName, getParent, getResourceFactory, hashCode, listResources, listResources, reifygetFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstallclone, finalize, getClass, notify, notifyAll, wait, wait, waitexists, getChild, getFullyQualifiedName, getParent, getResourceFactory, getResourceInputStream, listResources, listResources, reifypublic JavaMethodResourceImpl(ResourceFactory factory, Resource<?> parent, Method<? extends JavaSource<?>> method)
public Resource<Method> createFrom(Method file)
createFrom in interface Resource<Method>createFrom in class AbstractJavaMemberResource<Method>protected List<Resource<?>> doListResources()
doListResources in class AbstractJavaMemberResource<Method>public Method<? extends JavaSource<?>> getUnderlyingResourceObject()
getUnderlyingResourceObject in interface Resource<Method>getUnderlyingResourceObject in class AbstractJavaMemberResource<Method>public String getName()
public String toString()
toString in class AbstractJavaMemberResource<Method>public boolean delete()
throws UnsupportedOperationException
delete in interface Resource<Method>UnsupportedOperationExceptionpublic boolean delete(boolean recursive)
throws UnsupportedOperationException
delete in interface Resource<Method>UnsupportedOperationExceptionpublic boolean supports(ResourceFacet type)
supports in interface org.jboss.forge.facets.Faceted<ResourceFacet>supports in class AbstractResource<Method>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.