org.apache.maven.plugin.descriptor
Class Requirement

java.lang.Object
  extended by org.apache.maven.plugin.descriptor.Requirement
All Implemented Interfaces:
Cloneable

public class Requirement
extends Object
implements Cloneable

Describes a component requirement.

Author:
Brett Porter

Constructor Summary
Requirement(String role)
           
Requirement(String role, String roleHint)
           
 
Method Summary
 Requirement clone()
          Creates a shallow copy of this requirement.
 String getRole()
           
 String getRoleHint()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Requirement

public Requirement(String role)

Requirement

public Requirement(String role,
                   String roleHint)
Method Detail

getRole

public String getRole()

getRoleHint

public String getRoleHint()

clone

public Requirement clone()
Creates a shallow copy of this requirement.

Overrides:
clone in class Object


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.