1 28 29 package com.idaremedia.antx.condition; 30 31 import java.io.File ; 32 33 import org.apache.tools.ant.types.Reference; 34 import org.apache.tools.ant.types.Path; 35 36 import com.idaremedia.antx.parameters.IgnoreCaseEnabled; 37 import com.idaremedia.antx.parameters.IgnoreWhitespaceEnabled; 38 import com.idaremedia.antx.parameters.MalformedCheckEnabled; 39 import com.idaremedia.antx.parameters.TrimEnabled; 40 import com.idaremedia.antx.parameters.FlexValueSupport; 41 import com.idaremedia.antx.parameters.IsA; 42 43 54 55 public interface ShortHandConditions 56 extends FlexValueSupport, IgnoreCaseEnabled, TrimEnabled, 57 IgnoreWhitespaceEnabled, MalformedCheckEnabled 58 { 59 62 void setIsTrue(String name); 63 64 67 void setIsFalse(String name); 68 69 70 71 75 void setIsNotWhitespace(String name); 76 77 80 void setIsNumeric(String name); 81 82 85 void setIsBoolean(String name); 86 87 88 89 92 void setIsSet(String name); 93 94 97 void setIsSetTrue(String name); 98 99 103 void setSynonyms(boolean allowAll); 104 105 108 void setIsNotSet(String name); 109 110 113 void setIsA(IsA isa); 114 115 116 117 121 void setVarSet(String name); 122 123 127 void setVarSetTrue(String name); 128 129 133 void setVarNotSet(String name); 134 135 136 137 140 void setAllSet(String properties); 141 142 145 void setAnySet(String properties); 146 147 150 void setNoneSet(String properties); 151 152 153 154 157 void setMatches(String pattern); 158 159 162 void setValue(String literal); 163 164 165 166 170 void setIsFile(File file); 171 172 176 void setIsDirectory(File file); 177 178 182 void setFilepath(Path filp); 183 184 188 void setIsClass(String classname); 189 190 194 void setIsResource(String name); 195 196 200 void setClasspath(Path clsp); 201 202 206 void setClasspathRef(Reference cpr); 207 208 213 void setSystemClasses(boolean included); 214 215 216 217 220 void setOSFamily(String family); 221 222 227 void setOS(String selector); 228 229 230 231 236 void setHttpAlive(String url); 237 } 238 239 240 | Popular Tags |