jetbrains.buildServer.vcs
Class VcsRootStatus

java.lang.Object
  extended by jetbrains.buildServer.vcs.VcsRootStatus

public class VcsRootStatus
extends java.lang.Object

Current status of vcs root
SCHEDULED - scheduled for checking, in queue
STARTED - is being checking now
FINISHED - not scheduled yet


Nested Class Summary
static class VcsRootStatus.Type
          Possible statuses.
 
Field Summary
static VcsRootStatus NOT_MONITORED
           
static VcsRootStatus UNKNOWN
           
 
Constructor Summary
VcsRootStatus(VcsRootStatus.Type type, java.util.Date timestamp)
          Creates new status instance.
 
Method Summary
 java.util.Date getTimestamp()
          Date when the status was set.
 VcsRootStatus.Type getType()
          Status type.
 java.lang.String toString(java.util.TimeZone tz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final VcsRootStatus UNKNOWN

NOT_MONITORED

public static final VcsRootStatus NOT_MONITORED
Constructor Detail

VcsRootStatus

public VcsRootStatus(VcsRootStatus.Type type,
                     java.util.Date timestamp)
Creates new status instance.

Parameters:
type - new status type.
timestamp - time when status was changed.
Method Detail

getType

public VcsRootStatus.Type getType()
Status type.

Returns:
status type.

getTimestamp

public java.util.Date getTimestamp()
Date when the status was set.

Returns:
status timestamp.

toString

public java.lang.String toString(@NotNull
                                 java.util.TimeZone tz)