Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2014-03-08 17:27:53 +0000
committerEike Stepper2014-03-09 06:44:14 +0000
commit339f42ac5c2d5cd52cd54d340c8557d99daabb4c (patch)
tree59db83d2154affc5db8203546f8007ead0f8beae /plugins/org.eclipse.emf.cdo.security
parent4e59121792b693f3a2cf9070b9b111db71ee1285 (diff)
downloadcdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.gz
cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.xz
cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.zip
Update Javadocs
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.security')
-rw-r--r--plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/PermissionImpl.java7
-rw-r--r--plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/ResourceFilterImpl.java7
2 files changed, 11 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/PermissionImpl.java b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/PermissionImpl.java
index 17d28faf4b..996b4e9b2d 100644
--- a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/PermissionImpl.java
+++ b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/PermissionImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2012 - 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -121,7 +121,7 @@ public abstract class PermissionImpl extends CDOObjectImpl implements Permission
/**
* Should be overridden in subclasses to do proper impact analysis!
- *
+ *
* @since 4.3
*/
public boolean isImpacted(CommitImpactContext context)
@@ -130,6 +130,9 @@ public abstract class PermissionImpl extends CDOObjectImpl implements Permission
}
/**
+ * A description of the current commit that is used to {@link PermissionImpl#isImpacted(CommitImpactContext) determine}
+ * the impact of this commit on the configured {@link Permission permissions}.
+ *
* @author Eike Stepper
* @since 4.3
*/
diff --git a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/ResourceFilterImpl.java b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/ResourceFilterImpl.java
index 68c02f6e53..56c89a685b 100644
--- a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/ResourceFilterImpl.java
+++ b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/ResourceFilterImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2013, 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,6 +18,7 @@ import org.eclipse.emf.cdo.common.revision.CDORevisionProvider;
import org.eclipse.emf.cdo.common.revision.CDORevisionUtil;
import org.eclipse.emf.cdo.common.revision.delta.CDOContainerFeatureDelta;
import org.eclipse.emf.cdo.common.revision.delta.CDOFeatureDelta;
+import org.eclipse.emf.cdo.eresource.CDOResourceNode;
import org.eclipse.emf.cdo.eresource.EresourcePackage;
import org.eclipse.emf.cdo.security.PatternStyle;
import org.eclipse.emf.cdo.security.ResourceFilter;
@@ -541,6 +542,8 @@ public class ResourceFilterImpl extends PermissionFilterImpl implements Resource
}
/**
+ * Matches the path of a {@link CDOResourceNode resource node}.
+ *
* @author Eike Stepper
*/
public interface Matcher
@@ -551,6 +554,8 @@ public class ResourceFilterImpl extends PermissionFilterImpl implements Resource
}
/**
+ * Matches the path of a {@link CDOResourceNode resource node} against a {@link #path} string.
+ *
* @author Eike Stepper
*/
protected static abstract class PathMatcher implements Matcher

Back to the top