Exemplo n.º 1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder("StormBase(");

            sb.Append("Name: ");
            sb.Append(Name);
            sb.Append(",Status: ");
            sb.Append(Status);
            sb.Append(",Num_workers: ");
            sb.Append(Num_workers);
            sb.Append(",Component_executors: ");
            sb.Append(Component_executors);
            sb.Append(",Launch_time_secs: ");
            sb.Append(Launch_time_secs);
            sb.Append(",Owner: ");
            sb.Append(Owner);
            sb.Append(",Topology_action_options: ");
            sb.Append(Topology_action_options == null ? "<null>" : Topology_action_options.ToString());
            sb.Append(",Prev_status: ");
            sb.Append(Prev_status);
            sb.Append(",Component_debug: ");
            sb.Append(Component_debug);
            sb.Append(")");
            return(sb.ToString());
        }
Exemplo n.º 2
0
    public override string ToString()
    {
        StringBuilder __sb = new StringBuilder("StormBase(");

        __sb.Append(", Name: ");
        __sb.Append(Name);
        __sb.Append(", Status: ");
        __sb.Append(Status);
        __sb.Append(", Num_workers: ");
        __sb.Append(Num_workers);
        if (Component_executors != null && __isset.component_executors)
        {
            __sb.Append(", Component_executors: ");
            __sb.Append(Component_executors);
        }
        if (__isset.launch_time_secs)
        {
            __sb.Append(", Launch_time_secs: ");
            __sb.Append(Launch_time_secs);
        }
        if (Owner != null && __isset.owner)
        {
            __sb.Append(", Owner: ");
            __sb.Append(Owner);
        }
        if (Topology_action_options != null && __isset.topology_action_options)
        {
            __sb.Append(", Topology_action_options: ");
            __sb.Append(Topology_action_options == null ? "<null>" : Topology_action_options.ToString());
        }
        if (__isset.prev_status)
        {
            __sb.Append(", Prev_status: ");
            __sb.Append(Prev_status);
        }
        __sb.Append(")");
        return(__sb.ToString());
    }