Class TemporaryApps
java.lang.Object
io.openems.edge.core.appmanager.dependency.TemporaryApps
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TemporaryApps
(List<OpenemsAppInstance> currentlyCreatingApps, List<OpenemsAppInstance> currentlyModifiedApps, List<OpenemsAppInstance> currentlyDeletingApps) -
Method Summary
Modifier and TypeMethodDescriptionGets the instances which are currently being created.final List<OpenemsAppInstance>
Gets a unmodifiable list of the apps that are currently creating or modified.Gets the instances which are going to be deleted.Gets the instances which are currently being modified.static TemporaryApps
unmodifiableApps
(TemporaryApps temporaryApps) Creates a unmodifiable instance of the givenTemporaryApps
.
-
Constructor Details
-
TemporaryApps
public TemporaryApps() -
TemporaryApps
protected TemporaryApps(List<OpenemsAppInstance> currentlyCreatingApps, List<OpenemsAppInstance> currentlyModifiedApps, List<OpenemsAppInstance> currentlyDeletingApps)
-
-
Method Details
-
currentlyCreatingModifiedApps
Gets a unmodifiable list of the apps that are currently creating or modified.- Returns:
- the apps
-
currentlyCreatingApps
Gets the instances which are currently being created.- Returns:
- the
OpenemsAppInstance
-
currentlyDeletingApps
Gets the instances which are going to be deleted.- Returns:
- the
OpenemsAppInstance
-
currentlyModifiedApps
Gets the instances which are currently being modified.- Returns:
- the
OpenemsAppInstance
-
unmodifiableApps
Creates a unmodifiable instance of the givenTemporaryApps
.- Parameters:
temporaryApps
- theTemporaryApps
to get a unmodifiable version of- Returns:
- a unmodifiable instance of
TemporaryApps
-