Mercurial > dive4elements > framework
changeset 559:06257387b98f
Moved chart metadata line to top of chart. Minor cleanup.
author | gernotbelger |
---|---|
date | Thu, 26 Jul 2018 14:36:32 +0200 |
parents | 609ced80bcf0 |
children | 2b631f788ce1 |
files | artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java |
diffstat | 1 files changed, 15 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java Thu Jun 28 19:16:06 2018 +0200 +++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java Thu Jul 26 14:36:32 2018 +0200 @@ -10,12 +10,10 @@ import java.util.LinkedList; import org.apache.log4j.Logger; - import org.dive4elements.artifacts.ArtifactCollection; import org.dive4elements.artifacts.CallMeta; import org.dive4elements.artifacts.Message; - /** * Class that implements the call context handed to ArtifactCollection specific * operations. @@ -29,51 +27,48 @@ /** * The ArtifactCollection. */ - protected ArtifactCollection collection; - + private final ArtifactCollection collection; - public CollectionCallContext( - ArtifactDatabaseImpl artifactDatabase, - int action, - CallMeta callMeta, - ArtifactCollection collection) - { + public CollectionCallContext(final ArtifactDatabaseImpl artifactDatabase, final int action, final CallMeta callMeta, final ArtifactCollection collection) { super(artifactDatabase, action, callMeta); this.collection = collection; } + public ArtifactCollection getCollection() { + return this.collection; + } - public void afterCall(int action) { + @Override + public void afterCall(final int action) { log.debug("CollectionCallContext.afterCall - NOT IMPLEMENTED"); } - - public void afterBackground(int action) { + @Override + public void afterBackground(final int action) { log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED"); } - + @Override public boolean isInBackground() { log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED"); return false; } - - public void addBackgroundMessage(Message msg) { + @Override + public void addBackgroundMessage(final Message msg) { log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED"); } - + @Override public LinkedList<Message> getBackgroundMessages() { log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED"); return null; } - + @Override public Long getTimeToLive() { log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED"); return null; } -} -// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : +} \ No newline at end of file