/*
 * (c) Copyright 2017 EntIT Software LLC, a Micro Focus company, L.P.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *
 * The Apache License is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.cloudslang.content.utilities.entities.constants;

public class LocalPingDescriptions {

    public static class OperationDescription {
        public static final String LOCAL_PING_OPERATION_DESC = "This operation runs a Ping command locally.";
    }

    public static class InputsDescription {
        public static final String IP_VERSION_INPUT_DESC = "IP version forced to the ping command executed on the target host. " +
                "For Windows -4 or -6 parameters will be added.On Linux will be used ping or ping6. " +
                "For Solaris -A inet or -A inet6 parameters will be added. " +
                "For empty string the operation will decide what format to use if targetHost is an ip literal; if targetHost is given as a hostname default 'ping' command will be used on each operating system.\n" +
                "Values: 4, 6, '' (empty string without quotes).\n" +
                "Default: '' (empty string without quotes).";
        public static final String PACKET_SIZE_INPUT_DESC = "The size of the ping packet";
        public static final String TIMEOUT_INPUT_DESC = "The timeout in miliseconds for the Local Ping operation.\n Default: 90000.";
        public static final String TARGET_HOST_INPUT_DESC = "The target host to ping.";
        public static final String PACKETS_COUNT_INPUT_DESC = "The number of packets to send.";
    }

    public static class OutputsDescription {
        public static final String PACKETS_SENT_OUTPUT_DESC = "The number of packets sent.";
        public static final String PACKETS_RECEIVED_OUTPUT_DESC = "The number of packets received.";
        public static final String PERCENTAGE_PACKETS_LOST_OUTPUT_DESC = "The percentage of packets lost.";
        public static final String TRANSMISSION_TIME_MIN_OUTPUT_DESC = "The minimum time taken for transmitting the packet.";
        public static final String TRANSMISSION_TIME_MAX_OUTPUT_DESC = "The maximum time taken for transmitting the packet.";
        public static final String TRANSMISSION_TIME_AVG_OUTPUT_DESC = "The average time taken for transmitting the packet.";
        public static final String LOCAL_PING_RETURN_RESULT_DESC = "The raw output of the ping command.";
    }
}

@@ -1195,87 +1195,8 @@
 %22 +%0A
-                %22For Solaris -A inet or -A inet6 parameters will be added. %22 +%0A
     
@@ -1316,16 +1316,37 @@
 getHost 
+%22 +%0A                %22
 is given
@@ -1425,143 +1425,8 @@
 tem.
-%5Cn%22 +%0A                %22Values: 4, 6, '' (empty string without quotes).%5Cn%22 +%0A                %22Default: '' (empty string without quotes).
 %22;%0A 
@@ -1512,16 +1512,17 @@
 g packet
+.
 %22;%0A     
@@ -1591,16 +1591,17 @@
 t in mil
+l
 iseconds
@@ -1634,26 +1634,8 @@
 ion.
-%5Cn Default: 90000.
 %22;%0A 

Update description