public abstract class ParameterizedDeclarer<T extends ParameterizedDeclarer,D extends ParameterizedDeclaration> extends Declarer<D> implements HasParametersDeclarer
ParameterDeclaration
sdeclaration
Constructor and Description |
---|
ParameterizedDeclarer(D declaration) |
Modifier and Type | Method and Description |
---|---|
T |
describedAs(String description)
Adds a description
|
ParameterGroupDeclarer |
onDefaultParameterGroup()
Provides the default
ParameterGroupDeclarer . |
ParameterGroupDeclarer |
onParameterGroup(String name)
Provides a
ParameterGroupDeclarer for adding parameters
into a group of the given name . |
getDeclaration
public ParameterizedDeclarer(D declaration)
public ParameterGroupDeclarer onParameterGroup(String name)
ParameterGroupDeclarer
for adding parameters
into a group of the given name
. Use this if you wish to
declare a parameter which should belong to a specific group.onParameterGroup
in interface HasParametersDeclarer
name
- the name of the group to declareParameterGroupDeclarer
public ParameterGroupDeclarer onDefaultParameterGroup()
ParameterGroupDeclarer
. Use this if you wish
to add a parameter which shouldn't belong to any specific group.onDefaultParameterGroup
in interface HasParametersDeclarer
ParameterGroupDeclarer
Copyright © 2018. All rights reserved.