org.jboss.forge.shell.plugins
Annotation Type Alias
@Qualifier
@Documented
@Target(value={TYPE,METHOD,FIELD,PARAMETER})
@Retention(value=RUNTIME)
public @interface Alias
Most commonly, Alias is used when naming a Plugin or a Facet, but it can also be used for
custom implementations when combined with the ConstraintInspector.getName(Class).
If two or more Plugin types share an alias, they must each declare a different RequiresResource). The
shell determines which Plugin to invoke when a Resource of the type requested by a
RequiresResource is currently in scope.
Scopes and overloads are checked at boot time; if conflicts are detected, the shell will fail to boot. (No two
Plugin types or commands may declare the same Alias and RequiresResource). Similarly, no two
Facet types may use the same Alias.
- Author:
- Lincoln Baxter, III, Mike Brock .
value
public abstract String value
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.