private String manageGet(String[] options) throws Exception {
        // Minimum 2 needed. Show
        if (options.length < 2) {
            return TCAPOAMMessage.INVALID_COMMAND;
        }

        if (options.length == 3) {

            this.setDefaultValue();

            String parName = options[2].toLowerCase();
            StringBuilder sb = new StringBuilder();
            sb.append(options[2]);
            sb.append(" = ");
            if (parName.equals("dialogidletimeout")) {
                sb.append(this.tcapStack.getDialogIdleTimeout());
            } else if (parName.equals("invoketimeout")) {
                sb.append(this.tcapStack.getInvokeTimeout());
            } else if (parName.equals("maxdialogs")) {
                sb.append(this.tcapStack.getMaxDialogs());
            } else if (parName.equals("dialogidrangestart")) {
                sb.append(this.tcapStack.getDialogIdRangeStart());
            } else if (parName.equals("dialogidrangeend")) {
                sb.append(this.tcapStack.getDialogIdRangeEnd());
            } else if (parName.equals("previewmode")) {
                sb.append(this.tcapStack.getPreviewMode());
            } else if (parName.equals("donotsendprotocolversion")) {
                sb.append(this.tcapStack.getDoNotSendProtocolVersion());
            } else if (parName.equals("statisticsenabled")) {
                sb.append(this.tcapStack.getStatisticsEnabled());
            } else if (parName.equals("swaptcapidbytes")) {
                sb.append(this.tcapStack.getSwapTcapIdBytes());
            } else if (parName.equals("ssn")) {
                sb.append(this.tcapStack.getSubSystemNumber());

            } else if (parName.equals("executordelaythreshold_1")) {
                sb.append(this.tcapStack.getCongControl_ExecutorDelayThreshold_1());
            } else if (parName.equals("executordelaythreshold_2")) {
                sb.append(this.tcapStack.getCongControl_ExecutorDelayThreshold_2());
            } else if (parName.equals("executordelaythreshold_3")) {
                sb.append(this.tcapStack.getCongControl_ExecutorDelayThreshold_3());

            } else if (parName.equals("executorbacktonormaldelaythreshold_1")) {
                sb.append(this.tcapStack.getCongControl_ExecutorBackToNormalDelayThreshold_1());
            } else if (parName.equals("executorbacktonormaldelaythreshold_2")) {
                sb.append(this.tcapStack.getCongControl_ExecutorBackToNormalDelayThreshold_2());
            } else if (parName.equals("executorbacktonormaldelaythreshold_3")) {
                sb.append(this.tcapStack.getCongControl_ExecutorBackToNormalDelayThreshold_3());

            } else if (parName.equals("memorythreshold_1")) {
                sb.append(this.tcapStack.getCongControl_MemoryThreshold_1());
            } else if (parName.equals("memorythreshold_2")) {
                sb.append(this.tcapStack.getCongControl_MemoryThreshold_2());
            } else if (parName.equals("memorythreshold_3")) {
                sb.append(this.tcapStack.getCongControl_MemoryThreshold_3());

            } else if (parName.equals("backtonormalmemorythreshold_1")) {
                sb.append(this.tcapStack.getCongControl_BackToNormalMemoryThreshold_1());
            } else if (parName.equals("backtonormalmemorythreshold_2")) {
                sb.append(this.tcapStack.getCongControl_BackToNormalMemoryThreshold_2());
            } else if (parName.equals("backtonormalmemorythreshold_3")) {
                sb.append(this.tcapStack.getCongControl_BackToNormalMemoryThreshold_3());

            } else if (parName.equals("blockingincomingtcapmessages")) {
                sb.append(this.tcapStack.isCongControl_blockingIncomingTcapMessages());

            } else if (parName.equals("slsrange")) {
                sb.append(this.tcapStack.getSlsRange());
            }
            else {
                return TCAPOAMMessage.INVALID_COMMAND;
            }

            return sb.toString();
        } else {

            StringBuilder sb = new StringBuilder();

            for (FastMap.Entry<String, TCAPStackImpl> e = this.tcapStacks.head(), end = this.tcapStacks.tail(); (e = e
                    .getNext()) != end;) {
                TCAPStackImpl tcapStackImpl = e.getValue();
                String tcapStackname = e.getKey();

                sb.append("Properties for ");
                sb.append(tcapStackname);
                sb.append("\n");
                sb.append("*******************\n");

                sb.append("dialogidletimeout = ");
                sb.append(tcapStackImpl.getDialogIdleTimeout());
                sb.append("\n");

                sb.append("invoketimeout = ");
                sb.append(tcapStackImpl.getInvokeTimeout());
                sb.append("\n");

                sb.append("maxdialogs = ");
                sb.append(tcapStackImpl.getMaxDialogs());
                sb.append("\n");

                sb.append("dialogidrangestart = ");
                sb.append(tcapStackImpl.getDialogIdRangeStart());
                sb.append("\n");

                sb.append("dialogidrangeend = ");
                sb.append(tcapStackImpl.getDialogIdRangeEnd());
                sb.append("\n");

                sb.append("previewmode = ");
                sb.append(tcapStackImpl.getPreviewMode());
                sb.append("\n");

                sb.append("donotsendprotocolversion = ");
                sb.append(tcapStackImpl.getDoNotSendProtocolVersion());
                sb.append("\n");

                sb.append("statisticsenabled = ");
                sb.append(tcapStackImpl.getStatisticsEnabled());
                sb.append("\n");

                sb.append("swaptcapidbytes = ");
                sb.append(tcapStackImpl.getSwapTcapIdBytes());
                sb.append("\n");

                sb.append("subsystemnumber = ");
                sb.append(tcapStackImpl.getSubSystemNumber());
                sb.append("\n");

                sb.append("executordelaythreshold_1 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorDelayThreshold_1());
                sb.append("\n");

                sb.append("executordelaythreshold_2 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorDelayThreshold_2());
                sb.append("\n");

                sb.append("executordelaythreshold_3 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorDelayThreshold_3());
                sb.append("\n");

                sb.append("executorbacktonormaldelaythreshold_1 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorBackToNormalDelayThreshold_1());
                sb.append("\n");

                sb.append("executorbacktonormaldelaythreshold_2 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorBackToNormalDelayThreshold_2());
                sb.append("\n");

                sb.append("executorbacktonormaldelaythreshold_3 = ");
                sb.append(tcapStackImpl.getCongControl_ExecutorBackToNormalDelayThreshold_3());
                sb.append("\n");

                sb.append("memorythreshold_1 = ");
                sb.append(tcapStackImpl.getCongControl_MemoryThreshold_1());
                sb.append("\n");

                sb.append("memorythreshold_2 = ");
                sb.append(tcapStackImpl.getCongControl_MemoryThreshold_2());
                sb.append("\n");

                sb.append("memorythreshold_3 = ");
                sb.append(tcapStackImpl.getCongControl_MemoryThreshold_3());
                sb.append("\n");

                sb.append("backtonormalmemorythreshold_1 = ");
                sb.append(tcapStackImpl.getCongControl_BackToNormalMemoryThreshold_1());
                sb.append("\n");

                sb.append("backtonormalmemorythreshold_2 = ");
                sb.append(tcapStackImpl.getCongControl_BackToNormalMemoryThreshold_2());
                sb.append("\n");

                sb.append("backtonormalmemorythreshold_3 = ");
                sb.append(tcapStackImpl.getCongControl_BackToNormalMemoryThreshold_3());
                sb.append("\n");

                sb.append("blockingincomingtcapmessages = ");
                sb.append(tcapStackImpl.isCongControl_blockingIncomingTcapMessages());
                sb.append("\n");

                sb.append("slsrange = ");
                sb.append(tcapStackImpl.getSlsRange());
                sb.append("\n");

                sb.append("*******************");
                sb.append("\n");
                sb.append("\n");

            }

            return sb.toString();
        }
    }
private String manageGet ( String [ ] options ) throws Exception { if ( options . length < 2 ) { return TCAPOAMMessage . INVALID_COMMAND ; } if ( options . length == 3 ) { this . setDefaultValue ( ) ; String parName = options [ 2 ] . toLowerCase ( ) ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( options [ 2 ] ) ; sb . append ( " = " ) ; if ( parName . equals ( "dialogidletimeout" ) ) { sb . append ( this . tcapStack . getDialogIdleTimeout ( ) ) ; } else if ( parName . equals ( "invoketimeout" ) ) { sb . append ( this . tcapStack . getInvokeTimeout ( ) ) ; } else if ( parName . equals ( "maxdialogs" ) ) { sb . append ( this . tcapStack . getMaxDialogs ( ) ) ; } else if ( parName . equals ( "dialogidrangestart" ) ) { sb . append ( this . tcapStack . getDialogIdRangeStart ( ) ) ; } else if ( parName . equals ( "dialogidrangeend" ) ) { sb . append ( this . tcapStack . getDialogIdRangeEnd ( ) ) ; } else if ( parName . equals ( "previewmode" ) ) { sb . append ( this . tcapStack . getPreviewMode ( ) ) ; } else if ( parName . equals ( "donotsendprotocolversion" ) ) { sb . append ( this . tcapStack . getDoNotSendProtocolVersion ( ) ) ; } else if ( parName . equals ( "statisticsenabled" ) ) { sb . append ( this . tcapStack . getStatisticsEnabled ( ) ) ; } else if ( parName . equals ( "swaptcapidbytes" ) ) { sb . append ( this . tcapStack . getSwapTcapIdBytes ( ) ) ; } else if ( parName . equals ( "ssn" ) ) { sb . append ( this . tcapStack . getSubSystemNumber ( ) ) ; } else if ( parName . equals ( "executordelaythreshold_1" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorDelayThreshold_1 ( ) ) ; } else if ( parName . equals ( "executordelaythreshold_2" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorDelayThreshold_2 ( ) ) ; } else if ( parName . equals ( "executordelaythreshold_3" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorDelayThreshold_3 ( ) ) ; } else if ( parName . equals ( "executorbacktonormaldelaythreshold_1" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorBackToNormalDelayThreshold_1 ( ) ) ; } else if ( parName . equals ( "executorbacktonormaldelaythreshold_2" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorBackToNormalDelayThreshold_2 ( ) ) ; } else if ( parName . equals ( "executorbacktonormaldelaythreshold_3" ) ) { sb . append ( this . tcapStack . getCongControl_ExecutorBackToNormalDelayThreshold_3 ( ) ) ; } else if ( parName . equals ( "memorythreshold_1" ) ) { sb . append ( this . tcapStack . getCongControl_MemoryThreshold_1 ( ) ) ; } else if ( parName . equals ( "memorythreshold_2" ) ) { sb . append ( this . tcapStack . getCongControl_MemoryThreshold_2 ( ) ) ; } else if ( parName . equals ( "memorythreshold_3" ) ) { sb . append ( this . tcapStack . getCongControl_MemoryThreshold_3 ( ) ) ; } else if ( parName . equals ( "backtonormalmemorythreshold_1" ) ) { sb . append ( this . tcapStack . getCongControl_BackToNormalMemoryThreshold_1 ( ) ) ; } else if ( parName . equals ( "backtonormalmemorythreshold_2" ) ) { sb . append ( this . tcapStack . getCongControl_BackToNormalMemoryThreshold_2 ( ) ) ; } else if ( parName . equals ( "backtonormalmemorythreshold_3" ) ) { sb . append ( this . tcapStack . getCongControl_BackToNormalMemoryThreshold_3 ( ) ) ; } else if ( parName . equals ( "blockingincomingtcapmessages" ) ) { sb . append ( this . tcapStack . isCongControl_blockingIncomingTcapMessages ( ) ) ; } else if ( parName . equals ( "slsrange" ) ) { sb . append ( this . tcapStack . getSlsRange ( ) ) ; } else { return TCAPOAMMessage . INVALID_COMMAND ; } return sb . toString ( ) ; } else { StringBuilder sb = new StringBuilder ( ) ; for ( FastMap . Entry < String , TCAPStackImpl > e = this . tcapStacks . head ( ) , end = this . tcapStacks . tail ( ) ; ( e = e . getNext ( ) ) != end ; ) { TCAPStackImpl tcapStackImpl = e . getValue ( ) ; String tcapStackname = e . getKey ( ) ; sb . append ( "Properties for " ) ; sb . append ( tcapStackname ) ; sb . append ( "\n" ) ; sb . append ( "*******************\n" ) ; sb . append ( "dialogidletimeout = " ) ; sb . append ( tcapStackImpl . getDialogIdleTimeout ( ) ) ; sb . append ( "\n" ) ; sb . append ( "invoketimeout = " ) ; sb . append ( tcapStackImpl . getInvokeTimeout ( ) ) ; sb . append ( "\n" ) ; sb . append ( "maxdialogs = " ) ; sb . append ( tcapStackImpl . getMaxDialogs ( ) ) ; sb . append ( "\n" ) ; sb . append ( "dialogidrangestart = " ) ; sb . append ( tcapStackImpl . getDialogIdRangeStart ( ) ) ; sb . append ( "\n" ) ; sb . append ( "dialogidrangeend = " ) ; sb . append ( tcapStackImpl . getDialogIdRangeEnd ( ) ) ; sb . append ( "\n" ) ; sb . append ( "previewmode = " ) ; sb . append ( tcapStackImpl . getPreviewMode ( ) ) ; sb . append ( "\n" ) ; sb . append ( "donotsendprotocolversion = " ) ; sb . append ( tcapStackImpl . getDoNotSendProtocolVersion ( ) ) ; sb . append ( "\n" ) ; sb . append ( "statisticsenabled = " ) ; sb . append ( tcapStackImpl . getStatisticsEnabled ( ) ) ; sb . append ( "\n" ) ; sb . append ( "swaptcapidbytes = " ) ; sb . append ( tcapStackImpl . getSwapTcapIdBytes ( ) ) ; sb . append ( "\n" ) ; sb . append ( "subsystemnumber = " ) ; sb . append ( tcapStackImpl . getSubSystemNumber ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executordelaythreshold_1 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorDelayThreshold_1 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executordelaythreshold_2 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorDelayThreshold_2 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executordelaythreshold_3 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorDelayThreshold_3 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executorbacktonormaldelaythreshold_1 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorBackToNormalDelayThreshold_1 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executorbacktonormaldelaythreshold_2 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorBackToNormalDelayThreshold_2 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "executorbacktonormaldelaythreshold_3 = " ) ; sb . append ( tcapStackImpl . getCongControl_ExecutorBackToNormalDelayThreshold_3 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "memorythreshold_1 = " ) ; sb . append ( tcapStackImpl . getCongControl_MemoryThreshold_1 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "memorythreshold_2 = " ) ; sb . append ( tcapStackImpl . getCongControl_MemoryThreshold_2 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "memorythreshold_3 = " ) ; sb . append ( tcapStackImpl . getCongControl_MemoryThreshold_3 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "backtonormalmemorythreshold_1 = " ) ; sb . append ( tcapStackImpl . getCongControl_BackToNormalMemoryThreshold_1 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "backtonormalmemorythreshold_2 = " ) ; sb . append ( tcapStackImpl . getCongControl_BackToNormalMemoryThreshold_2 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "backtonormalmemorythreshold_3 = " ) ; sb . append ( tcapStackImpl . getCongControl_BackToNormalMemoryThreshold_3 ( ) ) ; sb . append ( "\n" ) ; sb . append ( "blockingincomingtcapmessages = " ) ; sb . append ( tcapStackImpl . isCongControl_blockingIncomingTcapMessages ( ) ) ; sb . append ( "\n" ) ; sb . append ( "slsrange = " ) ; sb . append ( tcapStackImpl . getSlsRange ( ) ) ; sb . append ( "\n" ) ; sb . append ( "*******************" ) ; sb . append ( "\n" ) ; sb . append ( "\n" ) ; } return sb . toString ( ) ; } }
Command is tcap get <param-name> <name of stack>

@param options
@return
@throws Exception