com.starbase.starteam
Class AccessTestResults

java.lang.Object
  |
  +--com.starbase.starteam.AccessTestResults

public class AccessTestResults
extends java.lang.Object

Represents the results of an access test.

Indicates whether or not access is granted, and provides an explanation in terms of the EffectiveACEs that were relevant for each tested permission.

See Also:
AccessRightsManager.accessTest(int, int, EffectiveACE[])

Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 MatchedACE[] getExplanation()
          Describes why access was granted or denied.
 int hashCode()
          returns a unique hash for all instances of this type
 boolean isGranted()
          Determines whether or not access was granted.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isGranted

public boolean isGranted()
Determines whether or not access was granted.

Returns:
true if access was granted; false if access was denied.

getExplanation

public MatchedACE[] getExplanation()
Describes why access was granted or denied.

Returns:
An explanation of why access was granted or denied, in terms of the EffectiveACEs that were relevant for each tested permission. Each tested permission appears in exactly one of the MatchedACEs.
See Also:
MatchedACE

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.