Class VersionInstaller
java.lang.Object
eu.cloudnetservice.node.impl.version.information.VersionInstaller
- Direct Known Subclasses:
FileSystemVersionInstaller, TemplateVersionInstaller
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classVersionInstaller.Builder<R extends VersionInstaller, B extends VersionInstaller.Builder<R,B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Stringprivate final ServiceVersionprivate final ServiceVersionType -
Constructor Summary
ConstructorsConstructorDescriptionVersionInstaller(@NonNull ServiceVersion serviceVersion, @NonNull ServiceVersionType serviceVersionType, boolean cacheFiles, @Nullable String installerExecutable) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract voiddeployFile(@NonNull InputStream source, @NonNull String target) abstract voidremoveServiceVersions(@NonNull Collection<ServiceVersionType> knownTypes)
-
Field Details
-
serviceVersion
-
serviceVersionType
-
cacheFiles
private final boolean cacheFiles -
installerExecutable
-
-
Constructor Details
-
VersionInstaller
public VersionInstaller(@NonNull @NonNull ServiceVersion serviceVersion, @NonNull @NonNull ServiceVersionType serviceVersionType, boolean cacheFiles, @Nullable @Nullable String installerExecutable)
-
-
Method Details
-
installerExecutable
-
serviceVersion
-
serviceVersionType
-
cacheFiles
public boolean cacheFiles() -
deployFile
public abstract void deployFile(@NonNull @NonNull InputStream source, @NonNull @NonNull String target) throws IOException - Throws:
IOException
-
removeServiceVersions
public abstract void removeServiceVersions(@NonNull @NonNull Collection<ServiceVersionType> knownTypes) throws IOException - Throws:
IOException
-