public static AppdynamicsCollector prototype(AppdynamicsSettings settings) {
        AppdynamicsCollector protoType = new AppdynamicsCollector();
        protoType.setName("Appdynamics");
        protoType.setCollectorType(CollectorType.AppPerformance);
        protoType.setOnline(true);
        protoType.setEnabled(true);
        protoType.setLastExecuted(System.currentTimeMillis());
        protoType.setInstanceUrl(settings.getInstanceUrlList());

        Map<String, Object> allOptions = new HashMap<>();
        allOptions.put(AppdynamicsApplication.APP_DASHBOARD_URL,"");
        allOptions.put(AppdynamicsApplication.APP_NAME,"");
        allOptions.put(AppdynamicsApplication.APP_DESC, "");
        allOptions.put(AppdynamicsApplication.APP_INSTANCE_ID, "");
        protoType.setAllFields(allOptions);

        Map<String, Object> uniqueOptions = new HashMap<>();
        uniqueOptions.put(AppdynamicsApplication.APP_DASHBOARD_URL,"");
        uniqueOptions.put(AppdynamicsApplication.APP_NAME,"");
        protoType.setUniqueFields(uniqueOptions);
        return protoType;
    }
public static AppdynamicsCollector prototype ( AppdynamicsSettings settings ) { AppdynamicsCollector protoType = new AppdynamicsCollector ( ) ; protoType . setName ( "Appdynamics" ) ; protoType . setCollectorType ( CollectorType . AppPerformance ) ; protoType . setOnline ( true ) ; protoType . setEnabled ( true ) ; protoType . setLastExecuted ( System . currentTimeMillis ( ) ) ; protoType . setInstanceUrl ( settings . getInstanceUrlList ( ) ) ; Map < String , Object > allOptions = new HashMap < > ( ) ; allOptions . put ( AppdynamicsApplication . APP_DASHBOARD_URL , "" ) ; allOptions . put ( AppdynamicsApplication . APP_NAME , "" ) ; allOptions . put ( AppdynamicsApplication . APP_DESC , "" ) ; allOptions . put ( AppdynamicsApplication . APP_INSTANCE_ID , "" ) ; protoType . setAllFields ( allOptions ) ; Map < String , Object > uniqueOptions = new HashMap < > ( ) ; uniqueOptions . put ( AppdynamicsApplication . APP_DASHBOARD_URL , "" ) ; uniqueOptions . put ( AppdynamicsApplication . APP_NAME , "" ) ; protoType . setUniqueFields ( uniqueOptions ) ; return protoType ; }
Creates a static prototype of the Feature Collector, which includes any
specific settings or configuration required for the use of this
collector, including settings for connecting to any source systems.

@return A configured Feature Collector prototype