Package jadex.publishservice.impl
Class PublishInfo
java.lang.Object
jadex.publishservice.impl.PublishInfo
Info struct for service publishing details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.ClassInfoThe mapping information (e.g.protected StringThe publish id.protected StringThe publish target.protected StringThe publish type.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new publish info.PublishInfo(PublishInfo info) Create a new publish info.PublishInfo(String pid, String publishtype, String publishtaget, Class<?> mapping) Create a new publish info. -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.ClassInfoGet the mapping information (e.g.Get the publishid.Set the publish scope.Get the type.voidsetMapping(jadex.common.ClassInfo mapping) Set the mapping information (e.g.voidsetPublishId(String pid) Set the publishid.voidsetPublishTarget(String publishtarget) voidsetPublishType(String type) Set the type.toString()Get the string representation.
-
Field Details
-
WP_URL
- See Also:
-
WP_APPNAME
- See Also:
-
WP_TARGET
- See Also:
-
WP_USER
- See Also:
-
WP_PASS
- See Also:
-
pid
The publish id. -
publishtype
The publish type. -
publishtarget
The publish target. -
mapping
protected jadex.common.ClassInfo mappingThe mapping information (e.g. annotated interface).
-
-
Constructor Details
-
PublishInfo
public PublishInfo()Create a new publish info. -
PublishInfo
Create a new publish info.- Parameters:
pid- The publish id, e.g. url.publishtype- The publish type.
-
PublishInfo
Create a new publish info.
-
-
Method Details
-
getPublishId
Get the publishid.- Returns:
- the publishid.
-
setPublishId
Set the publishid.- Parameters:
publishid- The publishid to set.
-
getPublishType
Get the type.- Returns:
- the type.
-
setPublishType
Set the type.- Parameters:
type- The type to set.
-
getPublishTarget
Set the publish scope.- Parameters:
publishscope- The publish scope. / public void setPublishScope(ServiceScope publishscope) { this.publishscope = publishscope; }
-
setPublishTarget
-
getMapping
public jadex.common.ClassInfo getMapping()Get the mapping information (e.g. annotated interface).- Returns:
- The mapping.
-
setMapping
public void setMapping(jadex.common.ClassInfo mapping) Set the mapping information (e.g. annotated interface).- Parameters:
mapping- The mapping to set.
-
toString
Get the string representation.
-