Requirement (Maven Plugin API 3.9.16 API) JavaScript is disabled on your browser.     Skip navigation links Overview Class Use Tree Deprecated Index Search Help org.apache.maven.plugin.descriptor Requirement Contents  Description Constructor Summary Method Summary Constructor Details Requirement(String) Requirement(String, String) Method Details getRole() getRoleHint() clone() Hide sidebar  Show sidebar Class Requirement java.lang.Object 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 Constructors Constructor Description Requirement(String role)   Requirement(String role, String roleHint)   Method Summary All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description Requirement clone() Creates a shallow copy of this requirement. String getRole()   String getRoleHint()   Methods inherited from class Object equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Details Requirement public Requirement(String role) Requirement public Requirement(String role, String roleHint) Method Details 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–2026 The Apache Software Foundation. All rights reserved.