org.jfrog.build.extractor.release
Class PropertiesTransformer

java.lang.Object
  extended by org.jfrog.build.extractor.release.PropertiesTransformer

public class PropertiesTransformer
extends java.lang.Object

Rewrites the given properties in the input properties file.


Constructor Summary
PropertiesTransformer(java.io.File propertiesFile, java.util.Map<java.lang.String,java.lang.String> versionsByName)
           
 
Method Summary
 java.lang.Boolean transform()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesTransformer

public PropertiesTransformer(java.io.File propertiesFile,
                             java.util.Map<java.lang.String,java.lang.String> versionsByName)
Method Detail

transform

public java.lang.Boolean transform()
                            throws java.io.IOException,
                                   java.lang.InterruptedException

Returns:
True in case the properties file was modified during the transformation. False otherwise.
Throws:
java.io.IOException
java.lang.InterruptedException