com.microsoft.tfs.core.clients.workitemconfiguration
Class WorkItemConfigurationSettingsClient

java.lang.Object
  extended by com.microsoft.tfs.core.clients.workitemconfiguration.WorkItemConfigurationSettingsClient

public class WorkItemConfigurationSettingsClient
extends java.lang.Object

Accesses the Team Foundation Server work item configurations settings web service. Currently only able to query limits on work item sizes.

Since:
TEE-SDK-10.1
Thread-safety:
thread-safe

Constructor Summary
WorkItemConfigurationSettingsClient(ms.tfs.workitemtracking.configurationsettingsservice._03._ConfigurationSettingsServiceSoap webService)
           
 
Method Summary
 long getMaxAttachmentSize()
          Gets the cached maximum work item attachment size.
 long updateMaxAttachmentSize()
          Updates the maximum work item attachment size from the web service, and returns the new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkItemConfigurationSettingsClient

public WorkItemConfigurationSettingsClient(ms.tfs.workitemtracking.configurationsettingsservice._03._ConfigurationSettingsServiceSoap webService)
Method Detail

getMaxAttachmentSize

public long getMaxAttachmentSize()
Gets the cached maximum work item attachment size. To force an update of the cached size, call updateMaxAttachmentSize() and use the value it returns (or subsequently call this method).

Returns:
the maximum work item attachment size (possibly cached from a previous call to this method or updateMaxAttachmentSize())

updateMaxAttachmentSize

public long updateMaxAttachmentSize()
Updates the maximum work item attachment size from the web service, and returns the new value.

Returns:
the maximum size of a work item attachment


© 2015 Microsoft. All rights reserved.