Get required system properties to launch the sub process

@return an array of {@link String} which represents the System properties to pass
@throws IOException
769559
String[] getJavaSystemPropertiesArguments() throws IOException {
        LOGGER.entering();
        List<String> args = new LinkedList<>();

        // Next, FWD all JVM -D args to the child process
        args.addAll(Arrays.asList(getPresentJavaSystemPropertiesArguments()));

        // Setup logging for child process
        args.addAll(Arrays.asList(getLoggingSystemPropertiesArguments()));

        LOGGER.exiting(args.toString());
        return args.toArray(new String[args.size()]);
    }
289946
private Map<ConfigurationKey, Object> getSystemProperties() {
        Map<ConfigurationKey, Object> found = new EnumMap<ConfigurationKey, Object>(ConfigurationKey.class);
        for (ConfigurationKey key : ConfigurationKey.values()) {
            String property = getSystemProperty(key.get());
            if (property != null) {
                processKeyValue(found, key, property);
            }
        }
        return found;
    }
674488
public static systemcmdpolicy[] get(nitro_service service) throws Exception{
		systemcmdpolicy obj = new systemcmdpolicy();
		systemcmdpolicy[] response = (systemcmdpolicy[])obj.get_resources(service);
		return response;
	}
570333
protected void logSystemPropertiesAndBasedir() {
        if (getLog().isDebugEnabled()) {

            final StringBuilder builder = new StringBuilder();

            builder.append("\n+=================== [System properties]\n");
            builder.append("|\n");

            // Sort the system properties
            final SortedMap<String, Object> props = new TreeMap<String, Object>();
            props.put("basedir", FileSystemUtilities.getCanonicalPath(getProject().getBasedir()));

            for (Map.Entry<Object, Object> current : System.getProperties().entrySet()) {
                props.put("" + current.getKey(), current.getValue());
            }
            for (Map.Entry<String, Object> current : props.entrySet()) {
                builder.append("| [" + current.getKey() + "]: " + current.getValue() + "\n");
            }

            builder.append("|\n");
            builder.append("+=================== [End System properties]\n");

            // All done.
            getLog().debug(builder.toString().replace("\n", NEWLINE));
        }
    }
645231
public String []list() throws IOException
  {
    try {
      String []list = getFile().list();

      if (list != null)
        return list;
    } catch (AccessControlException e) {
      log.finer(e.toString());
    }

    return new String[0];
  }
611610
public ArrayList getProperties(){
		ArrayList properties = new ArrayList();
		if (configEntry.properties != null){
			Iterator it = configEntry.properties.values().iterator();
			while (it.hasNext()){
				Property property = new Property((com.ibm.ws.cache.config.Property)it.next());
				properties.add(property);
			}
		}
		return properties;
	}
641359
private static java.util.Properties getSSLPropertiesOnThread() {
        return AccessController.doPrivileged(new PrivilegedAction<java.util.Properties>() {
            @Override
            public java.util.Properties run() {
                return JSSEHelper.getInstance().getSSLPropertiesOnThread();
            }
        });
    }
125193
public String[] getPlainProperties(){
		String[] commonColumns = {"created", "createdby", "updated","updatedby", "isactive"};
		String[] referencedProperties = getReferencedColumns();
		List<String> plainProperties = new ArrayList<String>();
		for(String att : attributes){
			if(CStringUtils.indexOf(referencedProperties, att) >= 0 ){
				//do not include referenced columns
			}
			else if(att.endsWith("_id")){
				;//do not include implied columns
			}
			else if(CStringUtils.indexOf(commonColumns, att) >= 0){
				;//do not include common columns
			}
			else{
				plainProperties.add(att);
			}
		}
		return plainProperties.toArray(new String[plainProperties.size()]);
	}
1206221
protected void retrieveProperties() {
        LogManager manager = LogManager.getLogManager();
        String className = SentryHandler.class.getName();
        setPrintfStyle(Boolean.valueOf(manager.getProperty(className + ".printfStyle")));
        setLevel(parseLevelOrDefault(manager.getProperty(className + ".level")));
    }
531230
static String getSystemProperty(final String key) {
        final SecurityManager sm = System.getSecurityManager();

        if (sm != null) {
            return AccessController.doPrivileged(new PrivilegedAction<String>() {
                public String run() {
                    return System.getProperty(key);
                }
            });
        } else {
            return System.getProperty(key);
        }
    }
37941
public function getSystemPropertiesAsArray()
    {
        $systemProperties = array();
        if (is_array($this->getSystemProperties())) {
            foreach ($this->getSystemProperties() as $systemProperty) {
                $systemProperties[$systemProperty->getName()] = $systemProperty->castToType();
            }
        }
        return $systemProperties;
    }
280807
protected String[] getFilesystemRoots() throws IOException {
		File[] fileRoots=File.listRoots();
		List<String> tempRoots=new ArrayList<>(fileRoots.length);
		for (File fileRoot : fileRoots) {
			String root = fileRoot.getPath();
			// Only add if this root is used for at least one backup setting
			FilesystemIteratorRule defaultRule = rules.get("");
			if(
				(defaultRule!=null && defaultRule.isIncluded(root))
				|| hasIncludedChild(root)
			) tempRoots.add(root);
		}
		return tempRoots.toArray(new String[tempRoots.size()]);
	}
775427
public DescribableList<ToolProperty<?>,ToolPropertyDescriptor> getDefaultProperties() throws IOException {
        DescribableList<ToolProperty<?>,ToolPropertyDescriptor> r
                = new DescribableList<>(NOOP);

        List<? extends ToolInstaller> installers = getDefaultInstallers();
        if(!installers.isEmpty())
            r.add(new InstallSourceProperty(installers));

        return r;
    }
913176
public Map<String, Object> getProperties()
    {
        if (this.getRecord() != null)
            if (((this.getRecord().getDatabaseType() & DBConstants.MAPPED) != 0)
                || ((this.getRecord().getDatabaseType() & DBConstants.REMOTE_MEMORY) != 0))
        {
            if (m_properties == null)
                m_properties = new Hashtable<String,Object>();
            m_properties.put(RecordMessageConstants.TABLE_NAME, this.getRecord().getTableNames(false)); // Don't call setProperty since ClientTable does a remote call
        }
        return m_properties;
    }
755910
public static String getSystemInformation() {
        String ret = System.getProperty("java.vendor");
        ret += " " + System.getProperty("java.version");
        ret += " on " + System.getProperty("os.name");
        ret += " " + System.getProperty("os.version");
        return ret;
    }
263558
private static Properties getPropertiesFile() {
        try {

            // We use the class loader to load the properties file.
            // This compatible with unix and windows.
            final InputStream stream = TangoFactory.class.getClassLoader().getResourceAsStream(
                    FACTORY_PROPERTIES);
            final Properties properties = new Properties();

            // We read the data in the properties file.
            if (stream != null) {
                // We need to use a Buffered Input Stream to load the datas
                final BufferedInputStream bufStream = new BufferedInputStream(stream);
                properties.clear();
                properties.load(bufStream);
            }
            return properties;
        } catch (final Exception e) {
            e.printStackTrace();
            return null;
        }
    }
142287
public static String getSystemProperty(String dKey, String shellKey, String defautValue) {
        String value = System.getProperty(dKey);
        if (value == null || value.length() == 0) {
            value = System.getenv(shellKey);
            if (value == null || value.length() == 0) {
                value = defautValue;
            }
        }
        return value;
    }