TrueUpdate Manager Specification 0.2

net.java.trueupdate.manager.spec
Class TimerParameters

java.lang.Object
  extended by net.java.trueupdate.manager.spec.TimerParameters

@Immutable
public final class TimerParameters
extends Object

Timer parameters.

Author:
Christian Schlichtherle

Nested Class Summary
static class TimerParameters.Builder<P>
          A builder for timer parameters.
 
Method Summary
static TimerParameters.Builder<Void> builder()
          Returns a new builder for timer parameters.
 long delay()
          Returns the initial delay of the timer.
static TimerParameters parse(TimerParametersDto ci)
          Parses the given configuration item.
 long period()
          Returns the period of the timer.
 TimeUnit unit()
          Returns the time unit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

builder

public static TimerParameters.Builder<Void> builder()
Returns a new builder for timer parameters.


delay

public long delay()
Returns the initial delay of the timer.


parse

public static TimerParameters parse(TimerParametersDto ci)
Parses the given configuration item.


period

public long period()
Returns the period of the timer.


unit

public TimeUnit unit()
Returns the time unit.


TrueUpdate Manager Specification 0.2

Copyright © 2013 Schlichtherle IT Services. All rights reserved.