-
public final class HostUpdater
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Boolean>enabledprivate final Property<Boolean>interactiveprivate final Property<Boolean>forceprivate final DirectoryPropertyworkDirprivate final RegularFilePropertytargetFileprivate final Property<String>sectionprivate final CommonExtensioncommon
-
Constructor Summary
Constructors Constructor Description HostUpdater(CommonExtension common)
-
Method Summary
Modifier and Type Method Description final Unitupdate(Collection<Host> hosts)final Unitupdate(Function0<Collection<Host>> hostsProvider)final Property<Boolean>getEnabled()final Property<Boolean>getInteractive()final Property<Boolean>getForce()final DirectoryPropertygetWorkDir()final RegularFilePropertygetTargetFile()final Property<String>getSection()final CommonExtensiongetCommon()-
-
Constructor Detail
-
HostUpdater
HostUpdater(CommonExtension common)
-
-
Method Detail
-
update
final Unit update(Collection<Host> hosts)
-
update
final Unit update(Function0<Collection<Host>> hostsProvider)
-
getEnabled
final Property<Boolean> getEnabled()
-
getInteractive
final Property<Boolean> getInteractive()
-
getWorkDir
final DirectoryProperty getWorkDir()
-
getTargetFile
final RegularFileProperty getTargetFile()
-
getSection
final Property<String> getSection()
-
getCommon
final CommonExtension getCommon()
-
-
-
-