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
Constructors Constructor Description Requirement(java.lang.String role)
Requirement(java.lang.String role, java.lang.String roleHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Requirement
clone()
Creates a shallow copy of this requirement.java.lang.String
getRole()
java.lang.String
getRoleHint()
-
-
-
Method Detail
-
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 classjava.lang.Object
-
-