Class RequirementApplicable.RequirementApplicableFactory<C,R extends Requirement<C,R>>
java.lang.Object
org.incendo.cloud.processors.requirements.RequirementApplicable.RequirementApplicableFactory<C,R>
- Type Parameters:
C- command sender typeR- requirement type
- Enclosing class:
- RequirementApplicable<C,
R extends Requirement<C, R>>
@API(status=STABLE,
since="1.0.0")
public static final class RequirementApplicable.RequirementApplicableFactory<C,R extends Requirement<C,R>>
extends Object
Factory that produces
RequirementApplicable instances.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull RequirementApplicable<C,R> Creates a newRequirementApplicableusing the givenrequirements.@NonNull RequirementApplicable<C,R> create(@NonNull Requirements<C, R> requirements) Creates a newRequirementApplicableusing the givenrequirements.final @NonNull RequirementApplicable<C,R> Creates a newRequirementApplicableusing the givenrequirements.
-
Method Details
-
create
Creates a newRequirementApplicableusing the givenrequirements.- Parameters:
requirements- requirements to apply to the command builder- Returns:
- the
RequirementApplicableinstance
-
create
Creates a newRequirementApplicableusing the givenrequirements.- Parameters:
requirements- requirements to apply to the command builder- Returns:
- the
RequirementApplicableinstance
-
create
@SafeVarargs public final @NonNull RequirementApplicable<C,R> create(@NonNull R @NonNull ... requirements) Creates a newRequirementApplicableusing the givenrequirements.- Parameters:
requirements- requirements to apply to the command builder- Returns:
- the
RequirementApplicableinstance
-