TrueUpdate Agent Core 0.7

net.java.trueupdate.agent.core
Class TimerParameters

java.lang.Object
  extended by net.java.trueupdate.agent.core.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(TimerParametersCi ci)
          Parses the given configuration item.
 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(TimerParametersCi ci)
Parses the given configuration item.


unit

public TimeUnit unit()
Returns the time unit.


TrueUpdate Agent Core 0.7

Copyright © 2013 Schlichtherle IT Services. All rights reserved.