Package com.enonic.xp.blob
Class Segment
- java.lang.Object
-
- com.enonic.xp.blob.Segment
-
public final class Segment extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegment.Builder
-
Field Summary
Fields Modifier and Type Field Description static intSEGMENT_LEVEL_DEPTH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Segment.Buildercreate()booleanequals(Object o)static Segmentfrom(SegmentLevel... levels)static Segmentfrom(Iterable<SegmentLevel> levels)static Segmentfrom(String... levels)SegmentLevelgetLevel(int levelIndex)List<SegmentLevel>getLevels()inthashCode()StringtoString()
-
-
-
Field Detail
-
SEGMENT_LEVEL_DEPTH
public static final int SEGMENT_LEVEL_DEPTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLevels
public List<SegmentLevel> getLevels()
-
getLevel
public SegmentLevel getLevel(int levelIndex)
-
from
public static Segment from(SegmentLevel... levels)
-
from
public static Segment from(Iterable<SegmentLevel> levels)
-
create
public static Segment.Builder create()
-
-