]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/execution/tasks/Echo.java
eeead38886c044b2a9d08ca8cf676328cde37fe9
1 package org
.argeo
.slc
.core
.execution
.tasks
;
3 import org
.apache
.commons
.logging
.Log
;
4 import org
.apache
.commons
.logging
.LogFactory
;
5 import org
.argeo
.slc
.execution
.Executable
;
7 public class Echo
implements Executable
{
8 private final static Log defaultLog
= LogFactory
.getLog(Echo
.class);
11 private String message
;
13 public void execute() {
18 return log
!= null ? log
: defaultLog
;
21 public void setLog(Log log
) {
25 public void setMessage(String message
) {
26 this.message
= message
;