MCPcopy Create free account
hub / github.com/apache/ant / setIf

Method setIf

src/main/org/apache/tools/ant/Target.java:286–294  ·  view source on GitHub ↗

Sets the "if" condition to test on execution. This is the name of a property to test for existence - if the property is not set, the task will not execute. The property goes through property substitution once before testing, so if property foo has value bar , setting the "if

(String property)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

onStartElementMethod · 0.95

Calls 8

getPropertyHelperMethod · 0.95
getProjectMethod · 0.95
parsePropertiesMethod · 0.95
testIfConditionMethod · 0.95
getLocationMethod · 0.95
setProjectMethod · 0.65
addMethod · 0.65
setLocationMethod · 0.45

Tested by

no test coverage detected