Package com.enonic.xp.content
Class ContentPaths
- java.lang.Object
-
- com.enonic.xp.support.AbstractImmutableEntitySet<ContentPath>
-
- com.enonic.xp.content.ContentPaths
-
- All Implemented Interfaces:
java.lang.Iterable<ContentPath>
@Beta public final class ContentPaths extends AbstractImmutableEntitySet<ContentPath>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentPaths.Builder
-
Field Summary
-
Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
set
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentPaths
add(ContentPath... paths)
ContentPaths
add(java.lang.Iterable<?> paths)
ContentPaths
add(java.lang.String... paths)
static ContentPaths.Builder
create()
static ContentPaths
empty()
boolean
equals(java.lang.Object o)
static ContentPaths
from(ContentPath... paths)
static ContentPaths
from(java.lang.Iterable<ContentPath> paths)
static ContentPaths
from(java.lang.String... paths)
static ContentPaths
from(java.util.Collection<java.lang.String> contentPaths)
int
hashCode()
ContentPaths
remove(ContentPath... paths)
ContentPaths
remove(java.lang.Iterable<?> paths)
ContentPaths
remove(java.lang.String... paths)
java.lang.String
toString()
-
Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
contains, first, getSet, getSize, isEmpty, isNotEmpty, iterator, stream
-
-
-
-
Method Detail
-
add
public ContentPaths add(java.lang.String... paths)
-
add
public ContentPaths add(ContentPath... paths)
-
add
public ContentPaths add(java.lang.Iterable<?> paths)
-
remove
public ContentPaths remove(java.lang.String... paths)
-
remove
public ContentPaths remove(ContentPath... paths)
-
remove
public ContentPaths remove(java.lang.Iterable<?> paths)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractImmutableEntitySet<ContentPath>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractImmutableEntitySet<ContentPath>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractImmutableEntitySet<ContentPath>
-
empty
public static ContentPaths empty()
-
from
public static ContentPaths from(java.lang.String... paths)
-
from
public static ContentPaths from(java.util.Collection<java.lang.String> contentPaths)
-
from
public static ContentPaths from(ContentPath... paths)
-
from
public static ContentPaths from(java.lang.Iterable<ContentPath> paths)
-
create
public static ContentPaths.Builder create()
-
-