public class DatastoreMixins
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DatastoreMixins.CanExecuteScript |
static interface |
DatastoreMixins.CanGiveCreationScript |
static interface |
DatastoreMixins.DatastoreCommon
An entity with the most common datastore config, sensors, and effectors
|
static interface |
DatastoreMixins.HasDatastoreUrl |
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.String> |
CREATION_SCRIPT_CONTENTS |
static ConfigKey<java.lang.String> |
CREATION_SCRIPT_URL |
static AttributeSensor<java.lang.String> |
DATASTORE_URL |
static Effector<java.lang.String> |
EXECUTE_SCRIPT |
Modifier and Type | Method and Description |
---|---|
static java.io.InputStream |
getDatabaseCreationScript(Entity entity)
returns the creation script contents, if it exists, or null if none is defined (error if it cannot be loaded)
|
static java.lang.String |
getDatabaseCreationScriptAsString(Entity entity)
returns the creation script contents, if it exists, or null if none is defined (error if it cannot be loaded)
|
public static final AttributeSensor<java.lang.String> DATASTORE_URL
public static final Effector<java.lang.String> EXECUTE_SCRIPT
public static final ConfigKey<java.lang.String> CREATION_SCRIPT_CONTENTS
public static final ConfigKey<java.lang.String> CREATION_SCRIPT_URL
@Nullable public static java.io.InputStream getDatabaseCreationScript(Entity entity)
@Nullable public static java.lang.String getDatabaseCreationScriptAsString(Entity entity)