Class ResourceFilter
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.project.ResourceFilter
-
public class ResourceFilter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceFilter.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResourceFilter
ALL_RESOURCES
AResourceFilter
that matches all resources.static ResourceFilter
GLOBAL_PROPS
static ResourceFilter
NO_RESOURCES
-
Constructor Summary
Constructors Constructor Description ResourceFilter(int applicationScope, java.util.List<ResourceType> resourceTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ProjectResource projectResource)
boolean
apply(ProjectResourceId projectResourceId)
static ResourceFilter
forScope(int applicationScope)
int
getApplicationScope()
java.util.List<ResourceType>
getResourceTypes()
static ResourceFilter.Builder
newBuilder()
-
-
-
Field Detail
-
ALL_RESOURCES
public static final ResourceFilter ALL_RESOURCES
AResourceFilter
that matches all resources.
-
NO_RESOURCES
public static final ResourceFilter NO_RESOURCES
-
GLOBAL_PROPS
public static final ResourceFilter GLOBAL_PROPS
-
-
Constructor Detail
-
ResourceFilter
public ResourceFilter(int applicationScope, java.util.List<ResourceType> resourceTypes)
-
-
Method Detail
-
getApplicationScope
public int getApplicationScope()
-
getResourceTypes
public java.util.List<ResourceType> getResourceTypes()
-
apply
public boolean apply(ProjectResource projectResource)
-
apply
public boolean apply(ProjectResourceId projectResourceId)
-
forScope
public static ResourceFilter forScope(int applicationScope)
-
newBuilder
public static ResourceFilter.Builder newBuilder()
-
-