public abstract class AbstractNamedStepDefinition extends Object implements StepDefinition, NamedStepDefinition
StepDefinition classes that have a name or description.| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
id |
protected String |
name |
protected Map<String,Object> |
parameters |
protected boolean |
startsWithPrevious |
| Constructor and Description |
|---|
AbstractNamedStepDefinition() |
| Modifier and Type | Method and Description |
|---|---|
abstract StepDefinition |
clone()
Create a clone of this
StepDefinition instance. |
String |
getDescription() |
String |
getId() |
String |
getName() |
Map<String,Object> |
getParameters() |
boolean |
isStartsWithPrevious() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setParameters(Map<String,Object> parameters)
Set the custom parameters.
|
void |
setStartsWithPrevious(boolean startsWithPrevious) |
abstract void |
setValues(StepDefinition otherDefinition)
Sets the properties of this
StepDefinition instance based in the
properties present in the given definition. |
protected String id
protected String name
protected String description
protected boolean startsWithPrevious
public String getId()
getId in interface StepDefinitionpublic void setId(String id)
setId in interface StepDefinitionpublic String getName()
getName in interface NamedStepDefinitionpublic void setName(String name)
setName in interface NamedStepDefinitionpublic String getDescription()
getDescription in interface NamedStepDefinitionpublic void setDescription(String description)
setDescription in interface NamedStepDefinitionpublic boolean isStartsWithPrevious()
public void setStartsWithPrevious(boolean startsWithPrevious)
public Map<String,Object> getParameters()
getParameters in interface StepDefinitionpublic void setParameters(Map<String,Object> parameters)
StepDefinitionsetParameters in interface StepDefinitionpublic abstract StepDefinition clone()
StepDefinitionStepDefinition instance.clone in interface StepDefinitionclone in class Objectpublic abstract void setValues(StepDefinition otherDefinition)
StepDefinitionStepDefinition instance based in the
properties present in the given definition.setValues in interface StepDefinitionCopyright © 2016 Alfresco. All rights reserved.