@Loggable(value=1) @Immutable public static final class Coordinates.Simple extends Object implements Coordinates
Coordinates.None, Coordinates.Simple| Constructor and Description |
|---|
Coordinates.Simple()
Public ctor.
|
Coordinates.Simple(Coordinates coords)
Public ctor.
|
Coordinates.Simple(com.jcabi.urn.URN owner,
String name)
Public ctor.
|
Coordinates.Simple(com.jcabi.urn.URN owner,
String name,
Time when)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Coordinates coords) |
com.jcabi.urn.URN |
owner()
Owner of this work.
|
String |
rule()
Name of the work (unique for the user).
|
Time |
scheduled()
When scheduled, in milliseconds.
|
String |
toString() |
static Coordinates |
valueOf(String text)
Create from a string.
|
public Coordinates.Simple()
public Coordinates.Simple(Coordinates coords)
coords - Other coordinatespublic Coordinates.Simple(com.jcabi.urn.URN owner,
String name)
owner - Ownername - Namepublic Coordinates.Simple(@NotNull(message="owner can\'t be NULL") com.jcabi.urn.URN owner, @NotNull(message="rule name can\'t be NULL")@Pattern(message="invalid name of rule",regexp="[a-z0-9\\-]+") String name, @NotNull(message="time can\'t be NULL") Time when)
owner - Ownername - Namewhen - When it should startpublic static Coordinates valueOf(String text)
text - Text formpublic int compareTo(Coordinates coords)
compareTo in interface Comparable<Coordinates>@NotNull(message="time of work is never NULL") public Time scheduled()
Coordinatesscheduled in interface Coordinates@NotNull(message="URN of owner of work is never NULL") public com.jcabi.urn.URN owner()
Coordinatesowner in interface Coordinates@NotNull(message="rule name of work is never NULL") public String rule()
Coordinatesrule in interface CoordinatesCopyright © 2009–2014 Rultor Inc.. All rights reserved.