- Timestamp:
- 09/21/11 16:46:58 (8 months ago)
- Branch:
- default
- Convert:
- svn:7c3792e6-d75b-4784-96a6-b298f655ee64/trunk@2791
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kraken-core/src/main/java/org/krakenapps/bundle/BundleScript.java
r210 r357 119 119 @ScriptArgument(name = "url", type = "string", description = "the url of bundle repository"), 120 120 @ScriptArgument(name = "trust store alias", type = "string", description = "the alias of truststore"), 121 @ScriptArgument(name = "key store alias", type = "string", description = "the alias of keystore. if provided, client authentication will be used", optional = true) }) 121 @ScriptArgument(name = "key store alias", type = "string", 122 description = "the alias of keystore. if provided, client authentication will be used", 123 optional = true) }) 122 124 public void addSecureRepository(String[] args) { 123 125 try { … … 139 141 } 140 142 141 @ScriptUsage(description = "Remove maven repository", arguments = { @ScriptArgument(name = "alias", type = "string", description = "alias of the maven repository") }) 143 @ScriptUsage(description = "Remove maven repository", arguments = { @ScriptArgument(name = "alias", 144 type = "string", description = "alias of the maven repository") }) 142 145 public void removeRepository(String[] args) { 143 146 try { … … 166 169 } 167 170 168 @ScriptUsage(description = "Reset credential for repository http authentication", arguments = { @ScriptArgument(name = "alias", type = "string", description = "alias of the maven repository") }) 171 @ScriptUsage(description = "Reset credential for repository http authentication", arguments = { @ScriptArgument( 172 name = "alias", type = "string", description = "alias of the maven repository") }) 169 173 public void resetHttpAuth(String[] args) { 170 174 Preferences prefs = getRepositoryPreferences(Kraken.getContext()); … … 293 297 } 294 298 295 @ScriptUsage(description = "update all locally-installed bundle(s). before use this method, stop ipojo bundle first.", arguments = { @ScriptArgument(name = "isForced", description = "use 'force' to run this method.", optional = false, type = "force or not") }) 299 @ScriptUsage( 300 description = "update all locally-installed bundle(s). before use this method, stop ipojo bundle first.", 301 arguments = { @ScriptArgument(name = "isForced", description = "use 'force' to run this method.", 302 optional = false, type = "force or not") }) 296 303 public void updateAll(String[] args) { 297 304 if (args.length < 1 || !args[0].equals("force")) { … … 329 336 } 330 337 331 @ScriptUsage(description = "list all bundles", arguments = { @ScriptArgument(name = "filter", type = "string", description = "filter text for bundle symbolic name", optional = true) }) 338 @ScriptUsage(description = "list all bundles", arguments = { @ScriptArgument(name = "filter", type = "string", 339 description = "filter text for bundle symbolic name", optional = true) }) 332 340 public void list(String[] args) { 333 341 String filterText = null; … … 357 365 } 358 366 359 @ScriptUsage(description = "print bundle location", arguments = { @ScriptArgument(name = "bundle id", description = "the bundle id") }) 367 @ScriptUsage(description = "print bundle location", arguments = { @ScriptArgument(name = "bundle id", 368 description = "the bundle id") }) 360 369 public void location(String[] args) { 361 370 try { … … 432 441 } 433 442 434 public void timestamp s(String[] args) {443 public void timestamp(String[] args) { 435 444 int bundleId = -1; 436 445 String filterText = null;
Note: See TracChangeset
for help on using the changeset viewer.
