public class Journey extends Object implements ICloneableCacheEntry, ITimeoutAwareJourneyElement
Modifier and Type | Method and Description |
---|---|
JourneyStage |
addStage(String name,
int position,
boolean isJourneyStart,
boolean journeyEnd,
boolean createUserSegmentation,
TimeUnit timeoutUnit,
int timeoutAmount)
Adds a stage in this journey.
|
Object |
clone() |
String |
getId()
Returns the id.
|
String |
getName()
Returns the name.
|
String |
getServiceInstanceId()
Returns the serviceInstanceId.
|
Collection<JourneyStage> |
getStages()
Returns the stages.
|
int |
getTimeoutAmount()
Returns the timeoutAmount.
|
TimeUnit |
getTimeoutUnit()
Returns the timeoutUnit.
|
void |
setName(String name)
Sets the name.
|
void |
setTimeoutAmount(int timeoutAmount)
Sets the timeoutAmount.
|
void |
setTimeoutUnit(TimeUnit timeoutUnit)
Sets the timeoutUnit.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTimeoutMillis
public String getServiceInstanceId()
public String getName()
public void setName(String name)
name
- the name value to set.public String getId()
public TimeUnit getTimeoutUnit()
ITimeoutAwareJourneyElement
getTimeoutUnit
in interface ITimeoutAwareJourneyElement
public void setTimeoutUnit(TimeUnit timeoutUnit)
ITimeoutAwareJourneyElement
setTimeoutUnit
in interface ITimeoutAwareJourneyElement
timeoutUnit
- the timeoutUnit value to set.public int getTimeoutAmount()
ITimeoutAwareJourneyElement
getTimeoutAmount
in interface ITimeoutAwareJourneyElement
public void setTimeoutAmount(int timeoutAmount)
ITimeoutAwareJourneyElement
setTimeoutAmount
in interface ITimeoutAwareJourneyElement
timeoutAmount
- the timeoutAmount value to set.public JourneyStage addStage(String name, int position, boolean isJourneyStart, boolean journeyEnd, boolean createUserSegmentation, TimeUnit timeoutUnit, int timeoutAmount) throws PortalException
name
- the stage name.position
- the stage position.isJourneyStart
- indicates whether the stage is a journey start.journeyEnd
- indicates whether the stage is a journey end.createUserSegmentation
- indicates whether a user segmentation should be created for this stage.timeoutUnit
- the timeout unittimeoutAmount
- the timeout amountPortalException
public Collection<JourneyStage> getStages() throws PortalException
PortalException
public Object clone() throws CloneNotSupportedException
clone
in interface ICloneableCacheEntry
clone
in class Object
CloneNotSupportedException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.