1 17 18 19 20 package org.apache.lenya.cms.ant; 21 22 import org.apache.tools.ant.BuildException; 23 24 public abstract class TwoDocumentsOperationTask extends DocumentOperationTask { 25 26 private String secarea; 27 private String secdocumentid; 28 29 32 public TwoDocumentsOperationTask() { 33 super(); 34 } 35 36 39 public String getSecarea() { 40 return secarea; 41 } 42 43 46 public String getSecdocumentid() { 47 return secdocumentid; 48 } 49 50 53 public void setSecarea(String string) { 54 secarea = string; 55 } 56 57 60 public void setSecdocumentid(String string) { 61 secdocumentid = string; 62 } 63 64 67 68 public void execute() throws BuildException { 69 log("document-id for the destination" + this.getSecdocumentid()); 70 log("area for the destination" + this.getSecarea()); 71 super.execute(); 72 } 73 74 } 75 | Popular Tags |