]>
git.argeo.org Git - gpl/argeo-slc.git/blob - tasks/Echo.java
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
.process
.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
;