org.rhq.enterprise.server.perspective.activator
Class ResourceConditionSet

java.lang.Object
  extended by org.rhq.enterprise.server.perspective.activator.ResourceConditionSet

public class ResourceConditionSet
extends Object

An immutable set of conditions pertaining to a Resource: 1) the ResourceType the Resource must have (required) 2) a set of Resource permissions a user must possess on the Resource (optional) 3) a set of traits with specific current values the Resource must possess (optional)

Author:
Ian Springer

Constructor Summary
ResourceConditionSet(String pluginName, String resourceTypeName, EnumSet<org.rhq.core.domain.authz.Permission> permissions, Map<String,Pattern> traits)
           
 
Method Summary
 EnumSet<org.rhq.core.domain.authz.Permission> getPermissions()
           
 String getPluginName()
           
 String getResourceTypeName()
           
 Map<String,Matcher> getTraitMatchers()
           
 Map<String,Pattern> getTraits()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceConditionSet

public ResourceConditionSet(String pluginName,
                            String resourceTypeName,
                            EnumSet<org.rhq.core.domain.authz.Permission> permissions,
                            Map<String,Pattern> traits)
Method Detail

getPluginName

public String getPluginName()

getResourceTypeName

public String getResourceTypeName()

getPermissions

public EnumSet<org.rhq.core.domain.authz.Permission> getPermissions()

getTraits

public Map<String,Pattern> getTraits()

getTraitMatchers

public Map<String,Matcher> getTraitMatchers()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.