org.bsc.mojo.configuration.ScrollVersionsInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of confluence-reporting-maven-plugin Show documentation
Show all versions of confluence-reporting-maven-plugin Show documentation
plugin that document a project (using maven site style) and send result to a live confluence site
[http://www.atlassian.com/software/confluence/]
package org.bsc.mojo.configuration;
import java.util.Objects;
import java.util.Optional;
import static java.util.Optional.ofNullable;
public class ScrollVersionsInfo {
private String version = null;
private boolean skip = false;
public boolean isSkip() {
return skip;
}
public void setSkip(boolean skip) {
this.skip = skip;
}
public String getVersion() {
Objects.requireNonNull( "version is not set!");
return version;
}
public void setVersion(String version) {
this.version = version;
}
public Optional optVersion() {
return (skip) ? Optional.empty() : ofNullable(version);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy