public class DocumentAcl extends java.lang.Object implements EmittedItem
Modifier and Type | Class and Description |
---|---|
static class |
DocumentAcl.Builder |
static class |
DocumentAcl.Emitter |
Constructor and Description |
---|
DocumentAcl(com.lucidworks.fusion.connector.plugin.api.fetcher.type.content.DocumentAcl.BaseBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
static DocumentAcl.Builder |
builder(java.lang.String id) |
static DocumentAcl.Emitter |
emitter(java.lang.String id,
java.util.function.Consumer<EmittedItem> emittedItemConsumer)
Creates a new document acl emitter
|
java.util.List<java.lang.String> |
getAcls() |
java.lang.String |
getId() |
boolean |
isUpdateChildren() |
java.lang.String |
toString() |
public DocumentAcl(com.lucidworks.fusion.connector.plugin.api.fetcher.type.content.DocumentAcl.BaseBuilder<?> builder)
public java.lang.String getId()
getId
in interface Identifiable
public java.util.List<java.lang.String> getAcls()
public boolean isUpdateChildren()
public static DocumentAcl.Builder builder(java.lang.String id)
public static DocumentAcl.Emitter emitter(java.lang.String id, java.util.function.Consumer<EmittedItem> emittedItemConsumer)
id
- idemittedItemConsumer
- emittedItemConsumerpublic java.lang.String toString()
toString
in class java.lang.Object