MCPcopy Create free account

hub / github.com/apache/ant / functions

Functions14,300 in github.com/apache/ant

↓ 1,487 callersMethodexecuteTarget
Executes a target we have set up @pre configureProject has been called @param targetName target to run
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:349
↓ 927 callersMethodgetProject
@return Returns the {@link Project} in whose context the test is being executed. The {@code Project} is sometimes not available, like in the case wher
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/TestExecutionContext.java:45
↓ 921 callersMethodgetProject
Gets the project @return the project instance.
src/main/org/apache/tools/ant/TypeAdapter.java:39
↓ 756 callersMethodappend
Append the contents of the other Path instance to this. @param other a <code>Path</code> to be added to the path
src/main/org/apache/tools/ant/types/Path.java:308
↓ 752 callersMethodgetProperty
Returns the value of a property if it is set. @param name name of the property. @return the property value, or null for no match or for name being nul
src/main/org/apache/tools/ant/property/GetProperty.java:30
↓ 735 callersMethodadd
add an arbitrary selector @param selector the selector to add @since Ant 1.6
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:186
↓ 729 callersMethodgetName
@return Returns the name of the test
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/NamedTest.java:28
↓ 689 callersMethodassertTrue
Pseudo-assert method.
src/main/org/apache/tools/ant/taskdefs/Sync.java:599
↓ 620 callersMethodcreateArgument
Create an argument object. <p>Each commandline object has at most one instance of the argument class. This method calls <code>this.createArgument(fa
src/main/org/apache/tools/ant/types/Commandline.java:299
↓ 592 callersMethodlog
Log a message. @param msg the message to log
src/main/org/apache/tools/ant/taskdefs/XSLTLogger.java:30
↓ 573 callersMethodisEmpty
Learn whether this {@link ResourceCollection} is empty. @return boolean
src/main/org/apache/tools/ant/types/ResourceCollection.java:57
↓ 544 callersMethodlog
Method for the loglistener to implement to receive log messages. @param message the message to log
src/main/org/apache/tools/ant/taskdefs/optional/ssh/LogListener.java:29
↓ 497 callersMethodexists
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:229
↓ 496 callersMethodgetAbsolutePath
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:238
↓ 468 callersMethodgetLocation
Get the build file location associated with this element's task. @return the task's location instance.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:250
↓ 459 callersMethodsetValue
Set the value of the parameter. @param value the parameter value
src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtraAttribute.java:46
↓ 449 callersMethodput
Saves a key-value-pair in the cache. @param key the key @param value the value
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java:65
↓ 406 callersMethodisReference
Has the refid attribute of this element been set? @return true if the refid attribute has been set
src/main/org/apache/tools/ant/types/DataType.java:74
↓ 399 callersMethodlength
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:325
↓ 383 callersMethodsubstring
(int begin)
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java:657
↓ 345 callersMethodgetValue
Get the value for a file. @param file File object for which the value should be evaluated. @return The value for that file
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Algorithm.java:47
↓ 342 callersMethodsize
Learn the number of contained Resources. @return number of elements as int.
src/main/org/apache/tools/ant/types/ResourceCollection.java:31
↓ 258 callersMethodget
Returns a value for a given key from the cache. @param key the key @return the stored value
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java:58
↓ 215 callersMethodequals
The equality method. This checks if the directory field is the same. @param obj the object to compare to @return true if this object has an equal dire
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:135
↓ 213 callersMethodconfigureProject
Sets up to run the named project @param filename name of project file to run
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:315
↓ 213 callersMethodcontains
(Object o)
src/main/org/apache/tools/ant/util/VectorSet.java:152
↓ 210 callersMethodgetLog
()
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java:56
↓ 203 callersMethodgetFileUtils
Get the FileUtils for this task. @return the fileutils object.
src/main/org/apache/tools/ant/taskdefs/Copy.java:125
↓ 184 callersMethodreplace
Does replacement on text using the hashtable of keys. @param origString an input string @param keys mapping of keys to values @return the string
src/main/org/apache/tools/ant/taskdefs/KeySubst.java:168
↓ 180 callersMethodstream
Return a {@link Stream} over this {@link ResourceCollection}. @return {@link Stream} of {@link Resource} @since Ant 1.10.2
src/main/org/apache/tools/ant/types/ResourceCollection.java:49
↓ 175 callersMethodsetProject
Sets the project @param p the project instance.
src/main/org/apache/tools/ant/TypeAdapter.java:32
↓ 174 callersMethodformat
Format a date/time into a specific pattern. @param date the date to format expressed in milliseconds. @param pattern the pattern to use to format the
src/main/org/apache/tools/ant/util/DateUtils.java:128
↓ 160 callersMethodget
()
src/main/org/apache/tools/ant/Evaluable.java:32
↓ 154 callersMethodindexOf
Override methods that use <code>.equals()</code> comparisons on elements. @param o the Object to search for. @param pos the position from which to s
src/main/org/apache/tools/ant/util/IdentityStack.java:85
↓ 151 callersMethodequals
@see java.lang.Object#equals @param rhs the object to check for equality. @return true if the version, main and sections are the same.
src/main/org/apache/tools/ant/taskdefs/Manifest.java:1045
↓ 141 callersMethodresolveFile
(String file)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java:694
↓ 139 callersMethodlastModified
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:313
↓ 137 callersMethodisFamily
Determines if the OS on which Ant is executing matches the given OS family. @param family the family to check for @return true if the OS matches @sinc
src/main/org/apache/tools/ant/taskdefs/condition/Os.java:195
↓ 131 callersMethodendsWith
Checks that a string buffer ends up with a given string. It may sound trivial with the existing JDK API but the various implementation among JDKs can
src/main/org/apache/tools/ant/util/StringUtils.java:122
↓ 128 callersMethodgetBaseDir
Return the base directory of the project as a file object. @return the project base directory, or <code>null</code> if the base directory has
src/main/org/apache/tools/ant/Project.java:877
↓ 127 callersMethoddelete
Deletes the cache. If file based the file has to be deleted also.
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java:45
↓ 127 callersMethodgetFileUtils
Method to retrieve The FileUtils, which is shared by all users of this method. @return an instance of FileUtils. @since Ant 1.6.3
src/main/org/apache/tools/ant/util/FileUtils.java:160
↓ 127 callersMethodgetOutputDir
()
src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java:97
↓ 123 callersMethodisDirectory
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:284
↓ 122 callersMethodequals
Equality operation. @param other the object to compare to. @return true if the other object contains the same information as this object.
src/main/org/apache/tools/ant/Location.java:160
↓ 119 callersMethodlog
(String msg, int level)
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskConfig.java:21
↓ 109 callersMethodtrim
A specialised trim() that trims whitespace, '(', ')', '"', '<', '>' from the start and end of strings
src/main/org/apache/tools/ant/taskdefs/email/EmailAddress.java:119
↓ 108 callersMethodclose
Close a Writer without throwing any exception if something went wrong. Do not attempt to close it if the argument is null. @param device output writer
src/main/org/apache/tools/ant/util/FileUtils.java:1644
↓ 104 callersMethodgetBytes
Get value as four bytes in big endian byte order. @since 1.1 @return value as four bytes in big endian order
src/main/org/apache/tools/zip/ZipLong.java:97
↓ 104 callersMethodsetChecked
Set the flag that is used to indicate that circular references have been checked. @param checked if true, if circular references have been checked
src/main/org/apache/tools/ant/types/DataType.java:326
↓ 103 callersMethodgetPath
Gets path from a <code>List</code> of <code>String</code>s. @param pathStack <code>List</code> of <code>String</code>s to be concatenated as a path.
src/main/org/apache/tools/ant/util/FileUtils.java:1861
↓ 100 callersMethodtoString
()
src/tests/junit/org/apache/tools/ant/taskdefs/dir2/A.java:37
↓ 99 callersMethodgetMessage
(SAXParseException e)
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java:633
↓ 96 callersMethodaddElement
(E o)
src/main/org/apache/tools/ant/util/VectorSet.java:96
↓ 93 callersMethodappend
Append one enumeration to another. Elements are evaluated lazily. @param e1 the first enumeration. @param e2 the subsequent enumeration. @param <E> el
src/main/org/apache/tools/ant/util/CollectionUtils.java:155
↓ 93 callersMethodgetClassLoader
@return Returns the {@link ClassLoader} that has to be used for launching and execution of the tests
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/LaunchDefinition.java:56
↓ 90 callersMethodnoChildrenAllowed
Creates an exception that indicates that this XML element must not have child elements if the refid attribute is set. @return the exception to throw
src/main/org/apache/tools/ant/types/DataType.java:299
↓ 90 callersMethodwrite
(final int b)
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java:320
↓ 87 callersMethodgetMessage
Handle getMessage() for exceptions. @param ex the exception to handle @return ex.getMessage() if ex.getMessage() is not null otherwise return
src/main/org/apache/tools/ant/taskdefs/Copy.java:1063
↓ 85 callersMethodlastIndexOf
Override methods that use <code>.equals()</code> comparisons on elements. @param o the Object to search for. @param pos the position from which to s
src/main/org/apache/tools/ant/util/IdentityStack.java:103
↓ 85 callersMethodtooManyAttributes
Creates an exception that indicates that refid has to be the only attribute if it is set. @return the exception to throw
src/main/org/apache/tools/ant/types/DataType.java:289
↓ 85 callersMethodvalueOf
Converts a string to a {@code ResolutionWarningReason} instance. @param s string to convert @return {@code ResolutionWarningReason} instance corresp
src/main/org/apache/tools/ant/taskdefs/modules/Jmod.java:930
↓ 84 callersMethodlist
Returns all path elements defined by this and nested path objects. @return list of path elements.
src/main/org/apache/tools/ant/types/Path.java:377
↓ 83 callersMethodaddElement
Adds a nested element definition. @param nestedElement the nested element definition.
src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java:227
↓ 82 callersMethodsetRefid
Makes this instance in effect a reference to another Path instance. <p>You must not set another attribute or nest elements inside this element if you
src/main/org/apache/tools/ant/types/Path.java:200
↓ 82 callersMethodsetValue
set the value to be tested; let ant eval it to true/false @param value the value to test
src/main/org/apache/tools/ant/taskdefs/condition/IsTrue.java:39
↓ 80 callersMethodequals
()
src/tests/junit/org/apache/tools/ant/util/DeweyDecimalTest.java:108
↓ 80 callersMethodnewInstance
Create an instance of a class using the constructor matching the given arguments. @param <T> desired type @param ofClass Class&lt;T&gt; @param argType
src/main/org/apache/tools/ant/util/ReflectUtil.java:52
↓ 79 callersMethodgetPath
Get the path components of this directory. @return the path components as an array of strings.
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:162
↓ 79 callersMethodreadLine
Reads a line of text ending with '\n' (or until the end of the stream). The returned String retains the '\n'. @return the line read, or <code>null</c
src/main/org/apache/tools/ant/filters/BaseFilterReader.java:169
↓ 79 callersMethodsetProperty
(String property)
src/tutorial/tasks-filesets-properties/01-propertyaccess/src/Find.java:27
↓ 77 callersMethodendsWith
Learn whether the last token equals the given string. @param s {@link String} @return {@code boolean}
src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java:176
↓ 77 callersMethodtoString
ByteArrayOutputStream#toString doesn't seem to work reliably on OS/390, at least not the way we use it in the execution context. @param bos the outpu
src/main/org/apache/tools/ant/taskdefs/Execute.java:241
↓ 76 callersMethodaddReference
Add a reference to the project. @param referenceName The name of the reference. Must not be <code>null</code>. @param value The value of the referenc
src/main/org/apache/tools/ant/Project.java:1986
↓ 76 callersMethodgetParentFile
This was originally an emulation of {@link File#getParentFile} for JDK 1.1, but it is now implemented using that method (Ant 1.6.3 onwards). @param f
src/main/org/apache/tools/ant/util/FileUtils.java:1142
↓ 73 callersMethodsetValue
Set the parameter value. Note that only string values are supported. No resolution of file paths is performed. @param value the parameter value.
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:129
↓ 71 callersMethodgetBaseDir
Return the basedir to which the name is relative. @return the basedir as File.
src/main/org/apache/tools/ant/types/resources/FileResource.java:140
↓ 71 callersMethodresolveFile
Correct a file path to correspond to the remote host requirements. This implementation currently assumes that the remote end can handle Unix-style pat
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:1973
↓ 70 callersMethodmatches
Does the given argument match the pattern? @param argument the string to match against @return true if the pattern matches @throws BuildException on e
src/main/org/apache/tools/ant/util/regexp/RegexpMatcher.java:73
↓ 70 callersMethodtoBoolean
Return the boolean equivalent of a string, which is considered <code>true</code> if either <code>"on"</code>, <code>"true"</code>, or <code>"yes"</cod
src/main/org/apache/tools/ant/Project.java:1731
↓ 69 callersMethodsetValue
(FlexInteger value)
src/tests/junit/org/apache/tools/ant/types/FlexIntegerTest.java:59
↓ 68 callersMethodsetBasedir
Sets the base directory to be scanned. This is the directory which is scanned recursively. All '/' and '\' characters should be replaced by <code>File
src/main/org/apache/tools/ant/FileScanner.java:119
↓ 67 callersMethodnextToken
Returns the next path element from this tokenizer. @return the next path element from this tokenizer. @exception NoSuchElementException if there are
src/main/org/apache/tools/ant/PathTokenizer.java:97
↓ 65 callersMethodnormalize
&quot;Normalize&quot; the given absolute path. <p>This includes: <ul> <li>Uppercase the drive letter if there is one.</li> <li>Remove redundant s
src/main/org/apache/tools/ant/util/FileUtils.java:776
↓ 65 callersMethodsetNewProperty
Set a property if no value currently exists. If the property exists already, a message is logged and the method returns with no other effect. @param
src/main/org/apache/tools/ant/Project.java:553
↓ 64 callersMethodcreatePath
Path of files to concatenate. @return the path used for concatenating @since Ant 1.6
src/main/org/apache/tools/ant/taskdefs/Concat.java:730
↓ 64 callersMethodfilter
filter and/of modify a string @param string the string to filter @return the modified string or null if the string did not pass the filter
src/main/org/apache/tools/ant/filters/TokenFilter.java:56
↓ 64 callersMethoditerator
Returns an iterator over the keys in the cache. @return An iterator over the keys.
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java:71
↓ 63 callersMethodnewOutputStream
Opens a new OutputStream for the given Path. @param path the path of the file @param append whether to append to or a replace an existing file @return
src/main/org/apache/tools/ant/util/FileUtils.java:1910
↓ 63 callersMethodsetIncludes
Sets the list of include patterns to use. @param includes A list of include patterns. May be <code>null</code>, indicating that all f
src/main/org/apache/tools/ant/FileScanner.java:149
↓ 61 callersMethodequals
Implement basic Resource equality. @param other the object to check against. @return true if the specified Object is equal to this Resource. @since An
src/main/org/apache/tools/ant/types/Resource.java:289
↓ 61 callersMethodscan
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns. @exception IllegalStateException if
src/main/org/apache/tools/ant/FileScanner.java:108
↓ 59 callersMethodas
Returns a view of this resource that implements the interface given as the argument or null if there is no such view. <p>This allows extension interf
src/main/org/apache/tools/ant/types/Resource.java:437
↓ 59 callersMethodstart
Start handling of the streams. @throws IOException on error
src/main/org/apache/tools/ant/taskdefs/ExecuteStreamHandler.java:62
↓ 58 callersMethodgetProperty
Return the value of a property, if it is set. @param propertyName The name of the property. May be <code>null</code>, in which case
src/main/org/apache/tools/ant/Project.java:607
↓ 58 callersMethodgetReference
Look up a reference by its key (ID). @param <T> desired type @param key The key for the desired reference. Must not be <code>null</code>.
src/main/org/apache/tools/ant/Project.java:2050
↓ 58 callersMethodsetExecutable
Set the executable to run. All file separators in the string are converted to the platform specific value. @param executable the String executable nam
src/main/org/apache/tools/ant/types/Commandline.java:328
↓ 58 callersMethodtestSource
(String expectedSource, String javaVersion, String expectedLog, String configuredT
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java:586
↓ 57 callersMethodgetFile
Get the file represented by this Resource. @return the file.
src/main/org/apache/tools/ant/types/resources/FileProvider.java:35
↓ 57 callersMethodisAtLeastJavaVersion
Compares the current Java version to the passed in String - assumes the argument is one of the constants defined in this class. Note that Ant now requ
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:297
next →1–100 of 14,300, ranked by callers