public abstract static class StorageKey.StorageFunction extends java.lang.Object implements IFunction<byte[]>
Modifier and Type | Field and Description |
---|---|
protected Modules.StorageFunctionMetadata |
meta |
protected java.lang.String |
method |
protected java.lang.String |
section |
Constructor and Description |
---|
StorageFunction() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
apply(java.lang.Object... args) |
StorageKey |
getHeadKey() |
Modules.StorageFunctionMetadata |
getMeta() |
java.lang.String |
getMethod() |
java.lang.String |
getSection() |
void |
setHeadKey(StorageKey headKey) |
void |
setMeta(Modules.StorageFunctionMetadata meta) |
void |
setMethod(java.lang.String method) |
void |
setSection(java.lang.String section) |
abstract java.lang.Object |
toJson() |
protected Modules.StorageFunctionMetadata meta
protected java.lang.String method
protected java.lang.String section
public abstract byte[] apply(java.lang.Object... args)
public abstract java.lang.Object toJson()
public Modules.StorageFunctionMetadata getMeta()
public void setMeta(Modules.StorageFunctionMetadata meta)
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
public java.lang.String getSection()
public void setSection(java.lang.String section)
public StorageKey getHeadKey()
public void setHeadKey(StorageKey headKey)