org.codehaus.mojo.wagon.shared
Class WagonDownloadExecutable.Builder
java.lang.Object
org.kuali.common.core.build.ValidatingBuilder<WagonDownloadExecutable>
org.codehaus.mojo.wagon.shared.WagonDownloadExecutable.Builder
- All Implemented Interfaces:
- org.apache.commons.lang3.builder.Builder<WagonDownloadExecutable>
- Enclosing class:
- WagonDownloadExecutable
public static class WagonDownloadExecutable.Builder
- extends org.kuali.common.core.build.ValidatingBuilder<WagonDownloadExecutable>
Fields inherited from class org.kuali.common.core.build.ValidatingBuilder |
validationGroups, validator |
Methods inherited from class org.kuali.common.core.build.ValidatingBuilder |
getValidationGroups, getValidator, setValidationGroups, setValidator, validate, withValidationGroups, withValidator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WagonDownloadExecutable.Builder
public WagonDownloadExecutable.Builder()
withInformer
public WagonDownloadExecutable.Builder withInformer(org.kuali.common.util.inform.PercentCompleteInformer informer)
withRateFormatter
public WagonDownloadExecutable.Builder withRateFormatter(NumberFormat rateFormatter)
withNumberFormatter
public WagonDownloadExecutable.Builder withNumberFormatter(NumberFormat numberFormatter)
withBytesCounter
public WagonDownloadExecutable.Builder withBytesCounter(org.kuali.common.util.LongCounter bytesCounter)
withStart
public WagonDownloadExecutable.Builder withStart(long start)
withTotal
public WagonDownloadExecutable.Builder withTotal(int total)
withCounter
public WagonDownloadExecutable.Builder withCounter(org.kuali.common.util.Counter counter)
withRemoteFile
public WagonDownloadExecutable.Builder withRemoteFile(String remoteFile)
withDestination
public WagonDownloadExecutable.Builder withDestination(File destination)
withWagon
public WagonDownloadExecutable.Builder withWagon(org.apache.maven.wagon.Wagon wagon)
build
public WagonDownloadExecutable build()
Copyright © 2008–2014 The Kuali Foundation. All rights reserved.