public interface VagrantFileBuilder
VagrantPlatform.
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Method and Description |
|---|---|
Optional<com.oracle.bedrock.runtime.remote.options.HostName> |
create(File file,
com.oracle.bedrock.OptionsByType optionsByType)
Creates a Vagrant File containing Vagrant Configuration at the name and location specified by the
provided
File, returning the public HostName detected during creation of the file. |
static VagrantFileBuilder |
from(com.oracle.bedrock.Option... options)
Obtains a
VagrantFileBuilder that will be produced based on the specified Options. |
static VagrantFileBuilder |
from(URL vagrantFileTemplate)
Obtains a
VagrantFileBuilder that will be produced based on a template. |
Optional<com.oracle.bedrock.runtime.remote.options.HostName> create(File file, com.oracle.bedrock.OptionsByType optionsByType) throws IOException
File, returning the public HostName detected during creation of the file.file - the File in which the Vagrant Configuration will be writtenoptionsByType - the OptionsByType for creating the fileHostName (when available)IOException - when the File could not be createdstatic VagrantFileBuilder from(URL vagrantFileTemplate)
VagrantFileBuilder that will be produced based on a template.vagrantFileTemplate - the URL of the Vagrant File templateVagrantFileBuilderstatic VagrantFileBuilder from(com.oracle.bedrock.Option... options)
VagrantFileBuilder that will be produced based on the specified Options.options - the OptionsVagrantFileBuildercom.oracle.bedrock.runtime.virtual.vagrant.optionsCopyright © 2017. All rights reserved.