org.apache.maven.plugin.descriptor
Class Requirement
java.lang.Object
org.apache.maven.plugin.descriptor.Requirement
- All Implemented Interfaces:
- java.lang.Cloneable
public class Requirement
- extends java.lang.Object
- implements java.lang.Cloneable
Describes a component requirement.
- Author:
- Brett Porter
Constructor Summary |
Requirement(java.lang.String role)
|
Requirement(java.lang.String role,
java.lang.String roleHint)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Requirement
public Requirement(java.lang.String role)
Requirement
public Requirement(java.lang.String role,
java.lang.String roleHint)
getRole
public java.lang.String getRole()
getRoleHint
public java.lang.String getRoleHint()
clone
public Requirement clone()
- Creates a shallow copy of this requirement.
- Overrides:
clone
in class java.lang.Object
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.