public class DocumentedExtra
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
description |
java.lang.String |
name |
boolean |
optional |
java.lang.Class<?> |
type |
| Constructor and Description |
|---|
DocumentedExtra(java.lang.String name,
java.lang.String description)
A documented extra that is associated with the action that is required to exist.
|
DocumentedExtra(java.lang.String name,
java.lang.String description,
boolean optional)
/**
A documented extra that is associated with the action.
|
DocumentedExtra(java.lang.String name,
java.lang.String description,
boolean optional,
java.lang.Class<?> type)
A documented extra that is associated with the action.
|
public final java.lang.String name
public final java.lang.String description
public final boolean optional
public final java.lang.Class<?> type
public DocumentedExtra(java.lang.String name,
java.lang.String description)
name - the name of the extradescription - the description of the extrapublic DocumentedExtra(java.lang.String name,
java.lang.String description,
boolean optional)
name - the name of the extradescription - the description of the extraoptional - if the extra is optional when the action is performed.public DocumentedExtra(java.lang.String name,
java.lang.String description,
boolean optional,
java.lang.Class<?> type)
name - the name of the extradescription - the description of the extraoptional - if the extra is optional when the action is performed.type - the class that needs to be placed into the extra.