Added integration option with device simulator.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -27,6 +27,7 @@ public class TargetBuilder {
|
||||
private String controllerId;
|
||||
private String name;
|
||||
private String description;
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* @param controllerId
|
||||
@@ -48,6 +49,16 @@ public class TargetBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param address
|
||||
* the address of the target
|
||||
* @return the builder itself
|
||||
*/
|
||||
public TargetBuilder address(final String address) {
|
||||
this.address = address;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param description
|
||||
* the description of the target
|
||||
@@ -121,6 +132,7 @@ public class TargetBuilder {
|
||||
}
|
||||
body.setName(name + suffix);
|
||||
body.setDescription(description);
|
||||
body.setAddress(address);
|
||||
return body;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user