|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.guice.plexus.config.Hints
public final class Hints
Constants and utility methods for dealing with Plexus hints.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_HINT
|
static java.lang.String[] |
NO_HINTS
|
Method Summary | |
---|---|
static java.lang.String |
canonicalHint(java.lang.String hint)
Returns the canonical form of the given Plexus hint. |
static java.util.List<java.lang.String> |
canonicalHints(java.util.List<java.lang.String> hints)
Returns the canonical form of the given Plexus hints. |
static java.lang.String[] |
canonicalHints(org.codehaus.plexus.component.annotations.Requirement requirement)
Returns the Plexus hints contained in the given @ Requirement . |
static java.lang.String[] |
canonicalHints(java.lang.String... hints)
Returns the canonical form of the given Plexus hints. |
static boolean |
isDefaultHint(java.lang.String hint)
Determines if the given Plexus hint denotes the default component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] NO_HINTS
public static final java.lang.String DEFAULT_HINT
Method Detail |
---|
public static java.lang.String canonicalHint(java.lang.String hint)
hint
- The Plexus hint
public static boolean isDefaultHint(java.lang.String hint)
hint
- The Plexus hint
true
if the given hint denotes the default componentpublic static java.lang.String[] canonicalHints(java.lang.String... hints)
hints
- The Plexus hints
public static java.util.List<java.lang.String> canonicalHints(java.util.List<java.lang.String> hints)
hints
- The Plexus hints
public static java.lang.String[] canonicalHints(org.codehaus.plexus.component.annotations.Requirement requirement)
Requirement
.
requirement
- The Plexus requirement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |