Package org.wildfly.prospero.actions
Class MetadataAction
java.lang.Object
org.wildfly.prospero.actions.MetadataAction
- All Implemented Interfaces:
AutoCloseable
Metadata related actions wrapper.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionMetadataAction(Path installation) protectedMetadataAction(InstallationMetadata installationMetadata) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannel(org.wildfly.channel.Channel channel) voidchangeChannel(String channelName, org.wildfly.channel.Channel newChannel) voidclose()List<org.wildfly.channel.Channel>org.wildfly.prospero.metadata.ManifestVersionRecordvoidremoveChannel(String channelName)
-
Constructor Details
-
MetadataAction
- Throws:
MetadataException
-
MetadataAction
-
-
Method Details
-
addChannel
- Throws:
MetadataException
-
removeChannel
- Throws:
MetadataException
-
changeChannel
public void changeChannel(String channelName, org.wildfly.channel.Channel newChannel) throws MetadataException - Throws:
MetadataException
-
getChannels
- Throws:
MetadataException
-
getChannelVersions
public org.wildfly.prospero.metadata.ManifestVersionRecord getChannelVersions() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-