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 StepDefinition
public void setId(String id)
setId
in interface StepDefinition
public String getName()
getName
in interface NamedStepDefinition
public void setName(String name)
setName
in interface NamedStepDefinition
public String getDescription()
getDescription
in interface NamedStepDefinition
public void setDescription(String description)
setDescription
in interface NamedStepDefinition
public boolean isStartsWithPrevious()
public void setStartsWithPrevious(boolean startsWithPrevious)
public Map<String,Object> getParameters()
getParameters
in interface StepDefinition
public void setParameters(Map<String,Object> parameters)
StepDefinition
setParameters
in interface StepDefinition
public abstract StepDefinition clone()
StepDefinition
StepDefinition
instance.clone
in interface StepDefinition
clone
in class Object
public abstract void setValues(StepDefinition otherDefinition)
StepDefinition
StepDefinition
instance based in the
properties present in the given definition.setValues
in interface StepDefinition
Copyright © 2016 Alfresco. All rights reserved.