Package com.enonic.xp.schema.content
Class ContentTypeNames
- java.lang.Object
-
- com.enonic.xp.support.AbstractImmutableEntitySet<ContentTypeName>
-
- com.enonic.xp.schema.content.ContentTypeNames
-
- All Implemented Interfaces:
Iterable<ContentTypeName>
@PublicApi public final class ContentTypeNames extends AbstractImmutableEntitySet<ContentTypeName>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentTypeNames.Builder
-
Field Summary
-
Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
set
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentTypeNames.Builder
create()
static ContentTypeNames
empty()
static ContentTypeNames
from(ContentTypeName... contentTypeNames)
static ContentTypeNames
from(Iterable<ContentTypeName> contentTypeNames)
static ContentTypeNames
from(String... contentTypeNames)
static ContentTypeNames
from(Collection<String> contentTypeNames)
-
Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet
contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
empty
public static ContentTypeNames empty()
-
from
public static ContentTypeNames from(String... contentTypeNames)
-
from
public static ContentTypeNames from(Collection<String> contentTypeNames)
-
from
public static ContentTypeNames from(ContentTypeName... contentTypeNames)
-
from
public static ContentTypeNames from(Iterable<ContentTypeName> contentTypeNames)
-
create
public static ContentTypeNames.Builder create()
-
-