com.microsoft.tfs.core.clients.build.flags
Class ScheduleDays

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper
          extended by com.microsoft.tfs.core.clients.build.flags.ScheduleDays

public final class ScheduleDays
extends com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper

Describes the schedule days.

Since:
TEE-SDK-10.1

Nested Class Summary
static class ScheduleDays.Day
          Wraps the web service flag type as a ScheduleDays.Day.
 
Nested classes/interfaces inherited from class com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper
com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper.FlagWrapper
 
Field Summary
static ScheduleDays.Day[] ALL
           
static ScheduleDays.Day FRIDAY
           
static ScheduleDays.Day MONDAY
           
static ScheduleDays.Day SATURDAY
           
static ScheduleDays.Day SUNDAY
           
static ScheduleDays.Day THURSDAY
           
static ScheduleDays.Day TUESDAY
           
static ScheduleDays.Day WEDNESDAY
           
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
ScheduleDays(ms.tfs.build.buildservice._04._ScheduleDays scheduleDays)
          Constructs a ScheduleDays that wraps the given _ScheduleDays.
ScheduleDays()
          Constructs a ScheduleDays with no days initially set.
ScheduleDays(ScheduleDays.Day value)
          Constructs a ScheduleDays with the given single day initially set.
ScheduleDays(ScheduleDays.Day[] values)
          Constructs a ScheduleDays with the given days initially set.
 
Method Summary
 void add(ScheduleDays.Day flagWrapper)
           
 void addAll(ScheduleDays.Day[] flagWrappers)
           
 void addAll(ScheduleDays flagSetWrapper)
           
 boolean contains(ScheduleDays.Day flagWrapper)
           
 boolean containsAll(ScheduleDays.Day[] flagWrappers)
           
 boolean containsAll(ScheduleDays flagSetWrapper)
           
 boolean containsAny(ScheduleDays.Day[] flagWrappers)
           
 boolean containsAny(ScheduleDays flagSetWrapper)
           
 boolean containsOnly(ScheduleDays.Day flagWrapper)
           
 boolean equals(java.lang.Object obj)
           
 ms.tfs.build.buildservice._04._ScheduleDays getWebServiceObject()
          Gets the web service object this class wraps.
 int hashCode()
           
 boolean remove(ScheduleDays.Day flagWrapper)
           
 boolean removeAll(ScheduleDays.Day[] flagWrappers)
           
 boolean removeAll(ScheduleDays flagSetWrapper)
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper
add, addAll, addAll, contains, containsAll, containsAll, containsAny, containsAny, containsOnly, isEmpty, remove, removeAll, removeAll, size
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MONDAY

public static final ScheduleDays.Day MONDAY

TUESDAY

public static final ScheduleDays.Day TUESDAY

WEDNESDAY

public static final ScheduleDays.Day WEDNESDAY

THURSDAY

public static final ScheduleDays.Day THURSDAY

FRIDAY

public static final ScheduleDays.Day FRIDAY

SATURDAY

public static final ScheduleDays.Day SATURDAY

SUNDAY

public static final ScheduleDays.Day SUNDAY

ALL

public static final ScheduleDays.Day[] ALL
Constructor Detail

ScheduleDays

public ScheduleDays()
Constructs a ScheduleDays with no days initially set.


ScheduleDays

public ScheduleDays(ms.tfs.build.buildservice._04._ScheduleDays scheduleDays)
Constructs a ScheduleDays that wraps the given _ScheduleDays.

Parameters:
scheduleDays - the inner _ScheduleDays (must not be null)

ScheduleDays

public ScheduleDays(ScheduleDays.Day value)
Constructs a ScheduleDays with the given single day initially set.


ScheduleDays

public ScheduleDays(ScheduleDays.Day[] values)
Constructs a ScheduleDays with the given days initially set.

Method Detail

getWebServiceObject

public ms.tfs.build.buildservice._04._ScheduleDays getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

add

public void add(ScheduleDays.Day flagWrapper)

addAll

public void addAll(ScheduleDays flagSetWrapper)

addAll

public void addAll(ScheduleDays.Day[] flagWrappers)

contains

public boolean contains(ScheduleDays.Day flagWrapper)

containsAll

public boolean containsAll(ScheduleDays.Day[] flagWrappers)

containsAny

public boolean containsAny(ScheduleDays.Day[] flagWrappers)

containsAll

public boolean containsAll(ScheduleDays flagSetWrapper)

containsAny

public boolean containsAny(ScheduleDays flagSetWrapper)

containsOnly

public boolean containsOnly(ScheduleDays.Day flagWrapper)

remove

public boolean remove(ScheduleDays.Day flagWrapper)

removeAll

public boolean removeAll(ScheduleDays.Day[] flagWrappers)

removeAll

public boolean removeAll(ScheduleDays flagSetWrapper)

hashCode

public int hashCode()
Overrides:
hashCode in class com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class com.microsoft.tfs.core.internal.wrappers.FlagSetWrapper


© 2015 Microsoft. All rights reserved.