Class StaticIpAggregateTaskImpl
- java.lang.Object
-
- io.openems.edge.core.appmanager.dependency.StaticIpAggregateTaskImpl
-
- All Implemented Interfaces:
AggregateTask
,AggregateTask.StaticIpAggregateTask
public class StaticIpAggregateTaskImpl extends java.lang.Object implements AggregateTask, AggregateTask.StaticIpAggregateTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.openems.edge.core.appmanager.dependency.AggregateTask
AggregateTask.ComponentAggregateTask, AggregateTask.SchedulerAggregateTask, AggregateTask.StaticIpAggregateTask
-
-
Constructor Summary
Constructors Constructor Description StaticIpAggregateTaskImpl(ComponentUtil componentUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aggregate(AppConfiguration instance, AppConfiguration oldConfig)
Aggregates the given instance.void
create(User user, java.util.List<AppConfiguration> otherAppConfigurations)
e.void
delete(User user, java.util.List<AppConfiguration> otherAppConfigurations)
e.void
reset()
Resets the task.
-
-
-
Constructor Detail
-
StaticIpAggregateTaskImpl
public StaticIpAggregateTaskImpl(ComponentUtil componentUtil)
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:AggregateTask
Resets the task.- Specified by:
reset
in interfaceAggregateTask
-
aggregate
public void aggregate(AppConfiguration instance, AppConfiguration oldConfig)
Description copied from interface:AggregateTask
Aggregates the given instance.- Specified by:
aggregate
in interfaceAggregateTask
- Parameters:
instance
- theAppConfiguration
of the instanceoldConfig
- the old configuration of the instance
-
create
public void create(User user, java.util.List<AppConfiguration> otherAppConfigurations) throws OpenemsError.OpenemsNamedException
Description copied from interface:AggregateTask
e. g. creates components that were aggregated by the instances and my also delete unused components.- Specified by:
create
in interfaceAggregateTask
- Parameters:
user
- the executing userotherAppConfigurations
- the other existingAppConfiguration
s- Throws:
OpenemsError.OpenemsNamedException
- on error
-
delete
public void delete(User user, java.util.List<AppConfiguration> otherAppConfigurations) throws OpenemsError.OpenemsNamedException
Description copied from interface:AggregateTask
e. g. deletes components that were aggregated.- Specified by:
delete
in interfaceAggregateTask
- Parameters:
user
- the executing userotherAppConfigurations
- the other existingAppConfiguration
s- Throws:
OpenemsError.OpenemsNamedException
- on error
-
-