Package io.toro.martini.tracker
Class Document.State
java.lang.Object
io.toro.martini.tracker.Document.State
- All Implemented Interfaces:
Serializable
- Enclosing class:
Document
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Document.State.Builderbuilder()abstract booleanabstract Stringabstract longstatic Document.Statestatic Document.Statestatic Document.Statecreate(String name, boolean indexed, Document.State.StateType type) static Document.Statestatic Document.Statecreate(String name, Document.State.StateType type) static Document.Stateabstract booleanindexed()abstract Stringname()abstract longabstract Document.State.Builderabstract Document.State.StateTypetype()abstract Stringuid()voidwriteContent(OutputStream outputStream)
-
Constructor Details
-
State
public State()
-
-
Method Details
-
uid
-
name
-
type
-
timeReceived
public abstract long timeReceived() -
canBeResubmitted
public abstract boolean canBeResubmitted() -
contentFileName
-
contentSize
public abstract long contentSize() -
indexed
public abstract boolean indexed() -
toBuilder
-
writeContent
- Throws:
IOException
-
create
-
create
-
create
-
create
-
create
-
create
-
builder
-