sb.append(urls.getRSLURL()); sb.append(COMMA_STRING); sb.append(urls.getPolicyFileURL());
/** * Add a new RSL URL and Policy file URL. This first pair is the primary * RSL and the following RSLs are failover RSLs. * * @param rslURL A String representing the URL to load the RSL from. May * not be null. * @param policyFileURL A String representing the URL to load a policy file * from. This is optional and may be null to indicate there is no policy * file. * @throws NullPointerException if rslURL is null. */ public void addRSLURLAndPolicyFileURL(String rslURL, String policyFileURL) { if (rslURL == null) throw new NullPointerException("rslURL may not be null"); rslURLs.add(new RSLAndPolicyFileURLPair(rslURL, policyFileURL)); }
info.addInstruction(ABCConstants.OP_pushstring, urls.getRSLURL()); info.addInstruction(ABCConstants.OP_pushstring, urls.getPolicyFileURL()); boolean isSignedRSL = RSLSettings.isSignedRSL(urls.getRSLURL()); ISWCDigest swcDigest = getSWCDigest(Iterables.getFirst(swc.getLibraries(), null), isSignedRSL);
info.addInstruction(ABCConstants.OP_pushstring, urls.getRSLURL()); info.addInstruction(ABCConstants.OP_pushstring, urls.getPolicyFileURL()); boolean isSignedRSL = RSLSettings.isSignedRSL(urls.getRSLURL()); ISWCDigest swcDigest = getSWCDigest(Iterables.getFirst(swc.getLibraries(), null), isSignedRSL);
params.put("rslPath",rslURLs.get(0).getRSLURL());
sb.append(urls.getRSLURL()); sb.append(COMMA_STRING); sb.append(urls.getPolicyFileURL());
params.put("rslPath",rslURLs.get(0).getRSLURL());
/** * Add a new RSL URL and Policy file URL. This first pair is the primary * RSL and the following RSLs are failover RSLs. * * @param rslURL A String representing the URL to load the RSL from. May * not be null. * @param policyFileURL A String representing the URL to load a policy file * from. This is optional and may be null to indicate there is no policy * file. * @throws NullPointerException if rslURL is null. */ public void addRSLURLAndPolicyFileURL(String rslURL, String policyFileURL) { if (rslURL == null) throw new NullPointerException("rslURL may not be null"); rslURLs.add(new RSLAndPolicyFileURLPair(rslURL, policyFileURL)); }