com.microsoft.tfs.core.clients.versioncontrol
Class ItemProperties
java.lang.Object
com.microsoft.tfs.core.clients.versioncontrol.ItemProperties
public class ItemProperties
- extends java.lang.Object
Encapsulates a set of properties associated with a path.
- Since:
- TFS-SDK-11.0
- Thread-safety:
- thread-compatible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemProperties
public ItemProperties(java.lang.String path,
PropertyValue[] properties)
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
getProperties
public PropertyValue[] getProperties()
setProperties
public void setProperties(PropertyValue[] properties)
fromStrings
public static ItemProperties[] fromStrings(java.lang.String[] paths,
PropertyValue[] properties)
- Returns an array of new
ItemProperties
objects, one for each
given path, each containing all the specified properties.
- Parameters:
paths
- the paths to create an ItemProperties
object for (must not
be null
)properties
- the properties to set on each path's ItemProperties
object
(must not be null
)
- Returns:
- an array of
ItemProperties
(never null
)
© 2015 Microsoft. All rights reserved.