1 19 20 package com.sslexplorer.core; 21 22 import java.io.File ; 23 24 import org.apache.struts.action.ActionForward; 25 26 import com.sslexplorer.setup.LicenseAgreementCallback; 27 28 31 public class LicenseAgreement { 32 33 private String title; 34 private File licenseTextFile; 35 private LicenseAgreementCallback callback; 36 private ActionForward returnTo; 37 38 public LicenseAgreement(String title, File licenseTextFile, LicenseAgreementCallback callback, ActionForward returnTo) { 39 this.title = title; 40 this.licenseTextFile = licenseTextFile; 41 this.callback = callback; 42 this.returnTo = returnTo; 43 } 44 45 48 public LicenseAgreementCallback getCallback() { 49 return callback; 50 } 51 54 public void setCallback(LicenseAgreementCallback callback) { 55 this.callback = callback; 56 } 57 60 public File getLicenseTextFile() { 61 return licenseTextFile; 62 } 63 66 public void setLicenseTextFile(File licenseTextFile) { 67 this.licenseTextFile = licenseTextFile; 68 } 69 72 public String getTitle() { 73 return title; 74 } 75 78 public void setTitle(String title) { 79 this.title = title; 80 } 81 84 public ActionForward getReturnTo() { 85 return returnTo; 86 } 87 90 public void setReturnTo(ActionForward returnTo) { 91 this.returnTo = returnTo; 92 } 93 } 94 | Popular Tags |