Back to index

nordugrid-arc-nox  1.1.0~rc6
ApplicationType.java
Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 1.3.36
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package nordugrid.arc;
00010 
00011 public class ApplicationType {
00012   private long swigCPtr;
00013   protected boolean swigCMemOwn;
00014 
00015   protected ApplicationType(long cPtr, boolean cMemoryOwn) {
00016     swigCMemOwn = cMemoryOwn;
00017     swigCPtr = cPtr;
00018   }
00019 
00020   protected static long getCPtr(ApplicationType obj) {
00021     return (obj == null) ? 0 : obj.swigCPtr;
00022   }
00023 
00024   public synchronized void delete() {
00025     if(swigCPtr != 0 && swigCMemOwn) {
00026       swigCMemOwn = false;
00027       throw new UnsupportedOperationException("C++ destructor does not have public access");
00028     }
00029     swigCPtr = 0;
00030   }
00031 
00032   public ApplicationType() {
00033     this(arcJNI.new_ApplicationType(), true);
00034   }
00035 
00036   public void setExecutable(ExecutableType value) {
00037     arcJNI.ApplicationType_Executable_set(swigCPtr, this, ExecutableType.getCPtr(value), value);
00038   }
00039 
00040   public ExecutableType getExecutable() {
00041     long cPtr = arcJNI.ApplicationType_Executable_get(swigCPtr, this);
00042     return (cPtr == 0) ? null : new ExecutableType(cPtr, false);
00043   }
00044 
00045   public void setInput(String value) {
00046     arcJNI.ApplicationType_Input_set(swigCPtr, this, value);
00047   }
00048 
00049   public String getInput() {
00050     return arcJNI.ApplicationType_Input_get(swigCPtr, this);
00051   }
00052 
00053   public void setOutput(String value) {
00054     arcJNI.ApplicationType_Output_set(swigCPtr, this, value);
00055   }
00056 
00057   public String getOutput() {
00058     return arcJNI.ApplicationType_Output_get(swigCPtr, this);
00059   }
00060 
00061   public void setError(String value) {
00062     arcJNI.ApplicationType_Error_set(swigCPtr, this, value);
00063   }
00064 
00065   public String getError() {
00066     return arcJNI.ApplicationType_Error_get(swigCPtr, this);
00067   }
00068 
00069   public void setJoin(boolean value) {
00070     arcJNI.ApplicationType_Join_set(swigCPtr, this, value);
00071   }
00072 
00073   public boolean getJoin() {
00074     return arcJNI.ApplicationType_Join_get(swigCPtr, this);
00075   }
00076 
00077   public void setEnvironment(SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t value) {
00078     arcJNI.ApplicationType_Environment_set(swigCPtr, this, SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t.getCPtr(value));
00079   }
00080 
00081   public SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t getEnvironment() {
00082     long cPtr = arcJNI.ApplicationType_Environment_get(swigCPtr, this);
00083     return (cPtr == 0) ? null : new SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t(cPtr, false);
00084   }
00085 
00086   public void setPrologue(ExecutableType value) {
00087     arcJNI.ApplicationType_Prologue_set(swigCPtr, this, ExecutableType.getCPtr(value), value);
00088   }
00089 
00090   public ExecutableType getPrologue() {
00091     long cPtr = arcJNI.ApplicationType_Prologue_get(swigCPtr, this);
00092     return (cPtr == 0) ? null : new ExecutableType(cPtr, false);
00093   }
00094 
00095   public void setEpilogue(ExecutableType value) {
00096     arcJNI.ApplicationType_Epilogue_set(swigCPtr, this, ExecutableType.getCPtr(value), value);
00097   }
00098 
00099   public ExecutableType getEpilogue() {
00100     long cPtr = arcJNI.ApplicationType_Epilogue_get(swigCPtr, this);
00101     return (cPtr == 0) ? null : new ExecutableType(cPtr, false);
00102   }
00103 
00104   public void setLogDir(String value) {
00105     arcJNI.ApplicationType_LogDir_set(swigCPtr, this, value);
00106   }
00107 
00108   public String getLogDir() {
00109     return arcJNI.ApplicationType_LogDir_get(swigCPtr, this);
00110   }
00111 
00112   public void setRemoteLogging(URLList value) {
00113     arcJNI.ApplicationType_RemoteLogging_set(swigCPtr, this, URLList.getCPtr(value), value);
00114   }
00115 
00116   public URLList getRemoteLogging() {
00117     long cPtr = arcJNI.ApplicationType_RemoteLogging_get(swigCPtr, this);
00118     return (cPtr == 0) ? null : new URLList(cPtr, false);
00119   }
00120 
00121   public void setRerun(int value) {
00122     arcJNI.ApplicationType_Rerun_set(swigCPtr, this, value);
00123   }
00124 
00125   public int getRerun() {
00126     return arcJNI.ApplicationType_Rerun_get(swigCPtr, this);
00127   }
00128 
00129   public void setExpiryTime(Time value) {
00130     arcJNI.ApplicationType_ExpiryTime_set(swigCPtr, this, Time.getCPtr(value), value);
00131   }
00132 
00133   public Time getExpiryTime() {
00134     long cPtr = arcJNI.ApplicationType_ExpiryTime_get(swigCPtr, this);
00135     return (cPtr == 0) ? null : new Time(cPtr, false);
00136   }
00137 
00138   public void setProcessingStartTime(Time value) {
00139     arcJNI.ApplicationType_ProcessingStartTime_set(swigCPtr, this, Time.getCPtr(value), value);
00140   }
00141 
00142   public Time getProcessingStartTime() {
00143     long cPtr = arcJNI.ApplicationType_ProcessingStartTime_get(swigCPtr, this);
00144     return (cPtr == 0) ? null : new Time(cPtr, false);
00145   }
00146 
00147   public void setNotification(SWIGTYPE_p_std__listT_Arc__NotificationType_t value) {
00148     arcJNI.ApplicationType_Notification_set(swigCPtr, this, SWIGTYPE_p_std__listT_Arc__NotificationType_t.getCPtr(value));
00149   }
00150 
00151   public SWIGTYPE_p_std__listT_Arc__NotificationType_t getNotification() {
00152     long cPtr = arcJNI.ApplicationType_Notification_get(swigCPtr, this);
00153     return (cPtr == 0) ? null : new SWIGTYPE_p_std__listT_Arc__NotificationType_t(cPtr, false);
00154   }
00155 
00156   public void setCredentialService(URLList value) {
00157     arcJNI.ApplicationType_CredentialService_set(swigCPtr, this, URLList.getCPtr(value), value);
00158   }
00159 
00160   public URLList getCredentialService() {
00161     long cPtr = arcJNI.ApplicationType_CredentialService_get(swigCPtr, this);
00162     return (cPtr == 0) ? null : new URLList(cPtr, false);
00163   }
00164 
00165   public void setAccessControl(XMLNode value) {
00166     arcJNI.ApplicationType_AccessControl_set(swigCPtr, this, XMLNode.getCPtr(value), value);
00167   }
00168 
00169   public XMLNode getAccessControl() {
00170     long cPtr = arcJNI.ApplicationType_AccessControl_get(swigCPtr, this);
00171     return (cPtr == 0) ? null : new XMLNode(cPtr, false);
00172   }
00173 
00174 }