Forge - Shell API 1.2.0.Final

org.jboss.forge.resources
Interface DeletionAware

All Known Implementing Classes:
JavaFieldResource

public interface DeletionAware

If a Resource is deleted, and the Resource object implements this interface, the methods of this interface will be called.

Author:
George Gastaldi

Method Summary
 List<Resource<?>> getOptionalResources()
          Returns a List of additional Resource instances.
 List<Resource<?>> getResources()
          Returns a List of additional Resource instances.
 

Method Detail

getResources

List<Resource<?>> getResources()
Returns a List of additional Resource instances. These resources do not require user confirmation before deletion.


getOptionalResources

List<Resource<?>> getOptionalResources()
Returns a List of additional Resource instances. These resources require user confirmation before deletion.


Forge - Shell API 1.2.0.Final

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