Package lumis.portal.analytics.journey
Class JourneyStage
- java.lang.Object
-
- lumis.portal.analytics.journey.JourneyStage
-
- All Implemented Interfaces:
Cloneable
,ITimeoutAwareJourneyElement
,ICacheEntry
,ICloneableCacheEntry
public class JourneyStage extends Object implements ICloneableCacheEntry, ITimeoutAwareJourneyElement
A journey stage.- Since:
- 12.2.0
- Version:
- $Revision: 23535 $ $Date: 2020-01-14 13:18:39 -0300 (Tue, 14 Jan 2020) $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getId()
Returns the id.Journey
getJourney()
Returns the journey.String
getJourneyId()
Returns the journeyId.String
getName()
Returns the name.int
getPosition()
Returns the position.int
getTimeoutAmount()
Returns the timeoutAmount.TimeUnit
getTimeoutUnit()
Returns the timeoutUnit.boolean
isJourneyEnd()
Returns whether this stage is a journey end.boolean
isJourneyStart()
Returns whether this stage is a journey start.void
setIsJourneyEnd(boolean isJourneyEnd)
Sets whether this stage is a journey end.void
setIsJourneyStart(boolean isJourneyStart)
Sets whether this stage is a journey start.void
setName(String name)
Sets the name.void
setPosition(int position)
Sets the position.void
setTimeoutAmount(int timeoutAmount)
Sets the timeoutAmount.void
setTimeoutUnit(TimeUnit timeoutUnit)
Sets the timeoutUnit.-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.analytics.journey.ITimeoutAwareJourneyElement
getTimeoutMillis
-
-
-
-
Method Detail
-
setIsJourneyStart
public void setIsJourneyStart(boolean isJourneyStart)
Sets whether this stage is a journey start.- Parameters:
isJourneyStart
- whether this stage is a journey start.- Since:
- 12.2.0
-
isJourneyStart
public boolean isJourneyStart()
Returns whether this stage is a journey start.- Returns:
- whether this stage is a journey start
- Since:
- 12.2.0
-
setIsJourneyEnd
public void setIsJourneyEnd(boolean isJourneyEnd)
Sets whether this stage is a journey end.- Parameters:
isJourneyStart
- whether this stage is a journey end.- Since:
- 12.2.0
-
isJourneyEnd
public boolean isJourneyEnd()
Returns whether this stage is a journey end.- Returns:
- whether this stage is a journey end
- Since:
- 12.2.0
-
setPosition
public void setPosition(int position)
Sets the position.- Parameters:
position
- the position.- Since:
- 12.2.0
-
getPosition
public int getPosition()
Returns the position.- Returns:
- the position.
- Since:
- 12.2.0
-
getName
public String getName()
Returns the name.- Returns:
- the name
- Since:
- 12.2.0
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- the name value to set.- Since:
- 12.2.0
-
getJourneyId
public String getJourneyId()
Returns the journeyId.- Returns:
- the journeyId
- Since:
- 12.2.0
-
getJourney
public Journey getJourney() throws PortalException
Returns the journey.- Returns:
- the journey
- Throws:
PortalException
- Since:
- 12.2.0
-
getId
public String getId()
Returns the id.- Returns:
- the id
- Since:
- 12.2.0
-
getTimeoutUnit
public TimeUnit getTimeoutUnit()
Description copied from interface:ITimeoutAwareJourneyElement
Returns the timeoutUnit.- Specified by:
getTimeoutUnit
in interfaceITimeoutAwareJourneyElement
- Returns:
- the timeoutUnit
-
setTimeoutUnit
public void setTimeoutUnit(TimeUnit timeoutUnit)
Description copied from interface:ITimeoutAwareJourneyElement
Sets the timeoutUnit.- Specified by:
setTimeoutUnit
in interfaceITimeoutAwareJourneyElement
- Parameters:
timeoutUnit
- the timeoutUnit value to set.
-
getTimeoutAmount
public int getTimeoutAmount()
Description copied from interface:ITimeoutAwareJourneyElement
Returns the timeoutAmount.- Specified by:
getTimeoutAmount
in interfaceITimeoutAwareJourneyElement
- Returns:
- the timeoutAmount
-
setTimeoutAmount
public void setTimeoutAmount(int timeoutAmount)
Description copied from interface:ITimeoutAwareJourneyElement
Sets the timeoutAmount.- Specified by:
setTimeoutAmount
in interfaceITimeoutAwareJourneyElement
- Parameters:
timeoutAmount
- the timeoutAmount value to set.
-
clone
public Object clone() throws CloneNotSupportedException
- Specified by:
clone
in interfaceICloneableCacheEntry
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-