Alert

public class Alert

Represents an alert which will be raised in the milestone window.

Constructors

Alert

public Alert()

Creates an Alert.

Alert

public Alert(Period offset, Period interval, int count, int index, boolean floating)

Creates an Alert with the offset attribute set to offset, the interval attribute set to interval, the count attribute to count, the index attribute to index, the floating attribute to floating.

Parameters:
  • offset – the alert offset
  • interval – the alert interval
  • count – the alert count
  • index – the alert index in the schedule
  • floating – the floating flag

Methods

getCount

public int getCount()

getIndex

public int getIndex()

getInterval

public Period getInterval()

getMilestoneWindow

public MilestoneWindow getMilestoneWindow()

getOffset

public Period getOffset()

isFloating

public boolean isFloating()

setCount

public void setCount(int count)

setFloating

public void setFloating(boolean floating)

setIndex

public void setIndex(int index)

setInterval

public void setInterval(Period interval)

setMilestoneWindow

public void setMilestoneWindow(MilestoneWindow milestoneWindow)

setOffset

public void setOffset(Period offset)