Package de.uni_trier.wi2.procake
Class CakeInstanceCache
java.lang.Object
de.uni_trier.wi2.procake.CakeInstanceCache
CakeInstanceCache class.
-
Constructor Summary
ConstructorDescriptionCakeInstanceCache
(List<FactoryInformation> factories) Constructor for CakeInstanceCache. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldfactories
.getModel()
Getter for the fieldmodel
.byte[]
Getter for the fieldmodelPath
.boolean
isRestartAfter
(CakeInstanceCache cakeInstanceCache) boolean
void
resetFactories.void
setFactories
(List<FactoryInformation> factories) Setter for the fieldfactories
.void
Setter for the fieldmodel
.void
setModelFileHash
(InputStream modelInputStream) void
setModelPath
(String modelPath) Setter for the fieldmodelPath
.void
setReuseDataClassReferencesAtRestart
(boolean reuseDataClassReferencesAtRestart)
-
Constructor Details
-
CakeInstanceCache
Constructor for CakeInstanceCache.
- Parameters:
factories
- aList
object
-
-
Method Details
-
resetFactories
public void resetFactories()resetFactories.
-
getModel
Getter for the field
model
.- Returns:
- a
Model
object
-
setModel
Setter for the field
model
.- Parameters:
model
- aModel
object
-
getModelPath
Getter for the field
modelPath
.- Returns:
- a
String
object
-
setModelPath
Setter for the field
modelPath
.- Parameters:
modelPath
- aString
object
-
getFactories
Getter for the field
factories
.- Returns:
- a
List
object
-
setFactories
Setter for the field
factories
.- Parameters:
factories
- aList
object
-
getModelFileHash
public byte[] getModelFileHash() -
setModelFileHash
-
isReuseDataClassReferencesAtRestart
public boolean isReuseDataClassReferencesAtRestart() -
setReuseDataClassReferencesAtRestart
public void setReuseDataClassReferencesAtRestart(boolean reuseDataClassReferencesAtRestart) -
isRestartAfter
-