public class VagrantConfigurations extends Object implements com.oracle.bedrock.ComposableOption<VagrantConfigurations>
Option to compose zero or more free-form configuration strings for
a VagrantPlatform.
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Constructor and Description |
|---|
VagrantConfigurations()
Constructs an empty
VagrantConfigurations. |
VagrantConfigurations(VagrantConfigurations other)
Constructs a
VagrantConfigurations based on another VagrantConfigurations. |
| Modifier and Type | Method and Description |
|---|---|
VagrantConfigurations |
compose(VagrantConfigurations other) |
static VagrantConfigurations |
none()
Creates an empty
VagrantConfigurations. |
static VagrantConfigurations |
of(String... configurations)
Creates a
VagrantConfigurations using the specified configurations. |
void |
write(PrintWriter writer,
String padding)
Writes the
VagrantConfigurations to the specified PrintWriter. |
public VagrantConfigurations()
VagrantConfigurations.public VagrantConfigurations(VagrantConfigurations other)
VagrantConfigurations based on another VagrantConfigurations.other - the other VagrantConfigurations@OptionsByType.Default public static VagrantConfigurations none()
VagrantConfigurations.VagrantConfigurationspublic static VagrantConfigurations of(String... configurations)
VagrantConfigurations using the specified configurations.configurations - the configurationsVagrantConfigurationspublic VagrantConfigurations compose(VagrantConfigurations other)
compose in interface com.oracle.bedrock.ComposableOption<VagrantConfigurations>public void write(PrintWriter writer, String padding)
VagrantConfigurations to the specified PrintWriter.writer - the PrintWriterpadding - the paddind for each lineCopyright © 2017. All rights reserved.