* Sets the id.
*
* @param id the id
- * @return the unique identifier
*/
public void setId(Long id) {
this.id = id;
* Sets the id.
*
* @param id the id
- * @return the unique identifier
*/
public void setId(Long id) {
this.id = id;
/**
* Checks whether objects are equal.
- * @param object to compare with
+ * @param obj to compare with
*
* @return true if objects are equels, otherwise false
*/
* @author <A HREF="mailto:a.motchanyi@samsung.com">Artem Motchanyi</A>
* @version 1.0
* @see Report
- * @see Device
* @since 2016 -09-01
*/
@Repository
* @param uuid unique agent id
* @param name agent name
* @return {@link Agent}
- * @throws Exception the empty name exception.
*/
Agent init(String uuid, String name);
* @param name agent name
* @param device device to which the agent belongs
* @return {@link Agent}
- * @throws Exception the empty name exception.
*/
Agent init(String uuid, String name, Device device);
* @param <T> the type parameter
* @author <A HREF="mailto:s.shram@samsung.com">Sergiy Shram</A>
* @version 1.0
- * @see Device
* @since 2016 -09-01
*/
public interface CommonService<T> {
* @param user user
* @param route the route
* @return {@link Device}
- * @throws Exception the empty name exception.
*/
Device init(String uuid, String name, String type, String model, int status, User user, String route);
* @param deviceUuid of the device
* @param policy to set
* @return {@link Policy}
- * @throws Exception device doesn't exist exception.
*/
Policy setDevicePolicy(String deviceUuid, String policy);
* @param agentUuid of the agent
* @param policy to set
* @return {@link Policy}
- * @throws Exception agent doesn't exist exception.
*/
Policy setAgentPolicy(String agentUuid, String policy);
*
* @author <A HREF="mailto:s.shram@samsung.com">Sergii Shram</A>
* @version 1.0
- * @see Role
* @since 2016 -09-01
*/
public interface UserService extends CommonService<User> {
* Service method provides user removal by ID.
*
* @param id of user for removal.
- * @throws Exception self removal occurred
*/
void remove(Long id);
*
* @author <A HREF="mailto:s.shram@samsung.com">Sergii Shram</A>
* @version 1.0
- * @see Role
* @since 2016 -09-01
*/
@Service("userService")
import com.samsung.dsm.model.restapi.RestAgent;
/**
- * Agent -> RestAgent
+ * Agent - RestAgent
*
* @author <A HREF="mailto:o.abakumov@samsung.com">Oleksandr Abakumov</A>
* @version 1.0
import org.springframework.stereotype.Service;
/**
- * Device -> RestDevice
+ * Device - RestDevice
*
* @author <A HREF="mailto:o.abakumov@samsung.com">Oleksandr Abakumov</A>
* @version 1.0
* Is valid boolean.
*
* @param currentRow the current row
+ * @param reportType the current row
* @return the boolean
*/
protected boolean isValid(String currentRow, String reportType) {
/**
* Get information about the user by it's access token Request format[GET]:
- * ../access_token/?access_token=<access_token>
+ * ../access_token/?access_token={access_token}
*
* @param accessToken access token
* @return (OK) response status (UNAUTHORIZED) wrong credentials
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public final class KafkaErrorMessages {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public interface Publisher {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public interface PostDataExtractor {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href="https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class DeviceRegistrationPostDataExtractor implements PostDataExtractor {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class DeviceUnRegistrationPostDataExtractor implements PostDataExtractor {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class PolicyPostDataExtractor implements PostDataExtractor {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class ReportPostDataExtractor implements PostDataExtractor {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class PrepareReport {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
@RestController
* @param <T> the type parameter
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class Cbor<T> {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public final class MessageQueueUtils {
* @param payload payload received
* @param key property key to get data
* @return extracted data in payload
- * @throws Exception
*/
public static <T> T extractDataFromPayload(byte[] payload, String key) {
* @param key property key
* @param value property value
* @return cbor encoded payload with providing key and value
- * @throws Exception
*/
public static <T> byte[] buildPayload(String key, T value) {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public interface ServerSender {
*
* @author <A HREF="mailto:y.zozulia@samsung.com">Yevhen Zozulia</A>
* @version 1.0
- * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol">
+ * @see <a href= "https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol"></a>
* @since 2017 -07-06
*/
public class ServerSenderImpl implements ServerSender {
</webApp>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
<distributionManagement>
<repository>
<uniqueVersion>true</uniqueVersion>