public class TeamStateDescription extends Object implements ITeamStateDescription
ITeamStateDescription
.
This class may be subclassed by clients.
Constructor and Description |
---|
TeamStateDescription(int state)
Create a description with the given state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Return whether this state description is equal the to given object.
|
int |
getDirection()
Return the portion of the state flags that represent the direction
associated with the element for which this description was generated.
|
int |
getKind()
Return the portion of the state flags that represent the kind associated
with the element for which this description was generated.
|
Object |
getProperty(String property)
Return the value associated with the given property.
|
String[] |
getPropertyNames()
Return the properties names for all decorated properties associated with
the element for which this description was generated.
|
int |
getStateFlags()
Return the synchronization state flags for the element for which this
state description was generated.
|
void |
setProperty(String property,
Object value)
Set the given property to the given value
|
public TeamStateDescription(int state)
state
- the statepublic int getStateFlags()
ITeamStateDescription
stateMask
used when obtaining this
description is returned.getStateFlags
in interface ITeamStateDescription
IDiff
,
IThreeWayDiff
,
IResourceDiff
public int getKind()
ITeamStateDescription
IDiff.getKind()
for a description of what this value represents.getKind
in interface ITeamStateDescription
public int getDirection()
ITeamStateDescription
IThreeWayDiff.getDirection()
for a description of what this value
represents.getDirection
in interface ITeamStateDescription
public String[] getPropertyNames()
ITeamStateDescription
getPropertyNames
in interface ITeamStateDescription
public Object getProperty(String property)
ITeamStateDescription
null
is returned if the property has no value.getProperty
in interface ITeamStateDescription
property
- the propertynull
public void setProperty(String property, Object value)
property
- the propertyvalue
- the valuepublic boolean equals(Object obj)
ITeamStateDescription
equals
in interface ITeamStateDescription
equals
in class Object
obj
- the object
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.