Package io.toro.martini.invocation
Class ServiceGroup.Builder
- java.lang.Object
-
- io.toro.martini.invocation.ServiceGroup.Builder
-
- Enclosing class:
- ServiceGroup
public abstract static class ServiceGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ServiceGroup
build()
abstract ServiceGroup.Builder
name(String name)
abstract ServiceGroup.Builder
packageName(String packageName)
abstract ServiceGroup.Builder
services(List<io.toro.martini.invocation.Service> services)
abstract ServiceGroup.Builder
type(ServiceGroup.Type type)
-
-
-
Method Detail
-
type
public abstract ServiceGroup.Builder type(ServiceGroup.Type type)
-
name
public abstract ServiceGroup.Builder name(String name)
-
packageName
public abstract ServiceGroup.Builder packageName(String packageName)
-
services
public abstract ServiceGroup.Builder services(List<io.toro.martini.invocation.Service> services)
-
build
public abstract ServiceGroup build()
-
-