Package io.toro.martini.tracker
Class Document.State
- java.lang.Object
-
- io.toro.martini.tracker.Document.State
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Document
public abstract static class Document.State extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Document.State.Builder
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Document.State.Builder
builder()
abstract boolean
canBeResubmitted()
abstract String
contentFileName()
abstract long
contentSize()
static Document.State
create(String name)
static Document.State
create(String name, boolean indexed)
abstract boolean
indexed()
abstract String
name()
abstract long
timeReceived()
abstract Document.State.Builder
toBuilder()
abstract String
uid()
void
writeContent(OutputStream outputStream)
-
-
-
Method Detail
-
uid
@Nullable public abstract String uid()
-
name
public abstract String name()
-
timeReceived
public abstract long timeReceived()
-
canBeResubmitted
public abstract boolean canBeResubmitted()
-
contentFileName
@Nullable public abstract String contentFileName()
-
contentSize
public abstract long contentSize()
-
indexed
public abstract boolean indexed()
-
toBuilder
public abstract Document.State.Builder toBuilder()
-
writeContent
public void writeContent(OutputStream outputStream) throws IOException
- Throws:
IOException
-
create
public static Document.State create(String name)
-
create
public static Document.State create(String name, boolean indexed)
-
builder
public static Document.State.Builder builder()
-
-