Forge - Parent 1.2.3-SNAPSHOT

org.jboss.forge.shell.plugins
Annotation Type RequiresResource


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface RequiresResource

Signals to the framework that in order for the annotated element to be visible, applicable, or "in scope," the current resource or any parent in its hierarchy must be of the declared Resource type.


Required Element Summary
 Class<? extends Resource<?>>[] value
           
 

Element Detail

value

public abstract Class<? extends Resource<?>>[] value

Forge - Parent 1.2.3-SNAPSHOT

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