-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michał Kit
committed
Sep 23, 2013
1 parent
60ae010
commit 00891d8
Showing
13 changed files
with
123 additions
and
28 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
jdeeco-core/src/cz/cuni/mff/d3s/deeco/monitoring/Monitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package cz.cuni.mff.d3s.deeco.monitoring; | ||
|
||
|
||
public interface Monitor { | ||
boolean getEvaluation(); | ||
String getId(); | ||
} |
10 changes: 10 additions & 0 deletions
10
jdeeco-core/src/cz/cuni/mff/d3s/deeco/monitoring/MonitorProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package cz.cuni.mff.d3s.deeco.monitoring; | ||
|
||
import java.util.List; | ||
|
||
|
||
public interface MonitorProvider { | ||
Monitor getMonitor(String monitorId); | ||
void addMonitor(Monitor monitor); | ||
void addAllMonitors(List<? extends Monitor> monitors); | ||
} |
22 changes: 22 additions & 0 deletions
22
jdeeco-core/src/cz/cuni/mff/d3s/deeco/monitoring/StubMonitorProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cz.cuni.mff.d3s.deeco.monitoring; | ||
|
||
import java.util.List; | ||
|
||
public class StubMonitorProvider implements MonitorProvider { | ||
|
||
@Override | ||
public Monitor getMonitor(String monitorId) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public void addMonitor(Monitor monitor) { | ||
//Do nothing | ||
} | ||
|
||
@Override | ||
public void addAllMonitors(List<? extends Monitor> monitors) { | ||
//Do nothing | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters