Skip to content

Commit f68cc28

Browse files
author
jan
committed
Add some documentaion for reAttachLibraries
1 parent 0ceeb4e commit f68cc28

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

io.sloeber.core/src/io/sloeber/core/api/ISloeberConfiguration.java

+8
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ public static ISloeberConfiguration getConfig(IAutoBuildConfigurationDescription
118118
public boolean addLibraries(Collection<IArduinoLibraryVersion> librariesToAdd);
119119
public boolean removeLibraries(Collection<IArduinoLibraryVersion> librariesToRemove);
120120

121+
/**
122+
* Implements the action under Menu->Sloeber->Re attache libraries
123+
* This method validates the attached libraries
124+
* 1) Links to hardware libraries that point to a hardware different than the one used in
125+
* the boardDescription of this configuration are replaced by versions from
126+
* this boardDescription and if none is found are removed.
127+
* 2) Links to non existing libraries are removed
128+
*/
121129
void reAttachLibraries();
122130

123131
Map<String, IArduinoLibraryVersion> getUsedLibraries();

0 commit comments

Comments
 (0)