public class Networks extends Object implements com.oracle.bedrock.Option.Collector<Network,Networks>
Option representing a collection of Networks for a 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 |
|---|---|
<O> Iterable<O> |
getInstancesOf(Class<O> requiredClass) |
Iterator<Network> |
iterator() |
static Networks |
none()
Creates an empty
Networks. |
Networks |
with(Network network) |
Networks |
without(Network network) |
Optional<com.oracle.bedrock.runtime.remote.options.HostName> |
write(PrintWriter writer,
String prefix,
String padding)
Write the configuration of the networks to the specified
PrintWriter, optionally
returning the public hostname of the network if public. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Optional<com.oracle.bedrock.runtime.remote.options.HostName> write(PrintWriter writer, String prefix, String padding)
PrintWriter, optionally
returning the public hostname of the network if public.writer - the PrintWriterprefix - the prefixpadding - the paddingOptional host name of the network interface (when applicable)@OptionsByType.Default public static Networks none()
Networks.NetworksCopyright © 2017. All rights reserved.